From unknown Sat Jun 14 05:02:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17110: [PATCH] Make `cycle-spacing' behave more like `just-one-space' if called once. Resent-From: Michal Nazarewicz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Mar 2014 23:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17110 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 17110@debbugs.gnu.org Cc: Alan Mackenzie , emacs-devel@gnu.org, Stefan Monnier , Richard Stallman , Glenn Morris X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.139587684327809 (code B ref -1); Wed, 26 Mar 2014 23:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2014 23:34:03 +0000 Received: from localhost ([127.0.0.1]:51484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSxKc-0007ES-9l for submit@debbugs.gnu.org; Wed, 26 Mar 2014 19:34:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41786) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSxKa-0007Dz-0F for submit@debbugs.gnu.org; Wed, 26 Mar 2014 19:34:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSxKY-0003SM-Bm for submit@debbugs.gnu.org; Wed, 26 Mar 2014 19:33:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.4 required=5.0 tests=BAYES_40,DATE_IN_PAST_96_XX, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSxKY-0003SG-9i for submit@debbugs.gnu.org; Wed, 26 Mar 2014 19:33:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSxKW-0008DY-U6 for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 19:33:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSxKT-0003RG-VI for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 19:33:56 -0400 Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]:47439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSxKT-0003Qo-JV for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 19:33:53 -0400 Received: by mail-ee0-f44.google.com with SMTP id e49so2240055eek.3 for ; Wed, 26 Mar 2014 16:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:date:organization :organization:references:user-agent:face:message-id:mime-version :content-type; bh=9eDytL76B7PlE4VDS3jt491+dpZU2D1WswQGA7jUPwE=; b=BX4XtS6H/5R7l/ivmFc4WejZwmgYlTlMVJHmwfwYkInr70W2wm3EMh/TSTja+SugTo DQGyPHo34+F05ZD0JWFngwerZV0NLSLL6/IrDp8n/LOGEdQQjcdqrPAV4WQnNQndHXgc w+fkVOAJEIrlF5ZVUS7YtxkLlgEbNHl0MLAXUjHg/UGAMCASY8cIMS9nzSfzXVr+5JAb JPaaD3yvOXbPRRRGSdxJoas3xWwgufu8kGTZuUN1q4Klh9u/svuQCfLxZTYO2kAcwZiH 2yjcu/MmmChrDW6jbYCJ6aFAthqboEG96G5dinHn75x2bzwM6JVNeQRMEygOQIt1qDd4 yNvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:date :organization:organization:references:user-agent:face:message-id :mime-version:content-type; bh=9eDytL76B7PlE4VDS3jt491+dpZU2D1WswQGA7jUPwE=; b=fqFH3v4uGLNkZ+XGZ9wrGXYD+4CvzH1z3IEVq3Ob3uXps0Q0Eis+2etz757eSSeSdP tn2T/TeG2b+HKE/jC+7fgRdui29bzncAilEfIbpJKPD6cg2E/OSTYXLFK7mez43h8Uyy gSnhm2ab+P4YHPu7nngXOoK0+Cpxp3GvE9eOQ0GiWRwYTyoWbub/syfoPPoi4yQ/eiF2 AbFMscSV0aOFIUq+q/c/E0Uhc+mPWtmTj7y6EhKYQLJtMLLRkWiOwxlsrcfkvAPV9zP7 Q/GdlNfmjtpox+PLvtwJ2kcMLrDmuD/b+hZjIwld3fzkatINlRI+P1EdAXIYc8kJva5L dVXw== X-Gm-Message-State: ALoCoQnBekFfM3F+QmebiraLwuX0hA7MMf2MCZHxkEO2fGHaUsFrQAYDizRbtCnCbuJcICRSQKhiobsfHTL+rM7+oy90X9HqHgQeJep5Q/+yR2YVyqMe/+vjd/LPFy/MIg45G4+OhvzMhKuGE8UKuFgvtkf3ABCJL3QZeJRIXlBX29uwj5trm9+0OY2KrwB1DmR03UWST8siE7OtkScc9I8ZfZau5khiQg== X-Received: by 10.14.87.201 with SMTP id y49mr11107222eee.62.1395876831745; Wed, 26 Mar 2014 16:33:51 -0700 (PDT) Received: from mpn-glaptop.roam.corp.google.com ([2620:0:105f:301:5c2e:340a:2353:4f86]) by mx.google.com with ESMTPSA id o7sm366423eew.25.2014.03.26.16.33.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 26 Mar 2014 16:33:50 -0700 (PDT) From: Michal Nazarewicz In-Reply-To: Date: Mon, 10 Feb 2014 13:19:19 +0100 Organization: Google Inc Organization: http://mina86.com/ References: <20140129202810.GA3092@acm.acm> User-Agent: Notmuch/0.17+15~gb65ca8e (http://notmuchmail.org) Emacs/24.3.50.1 (x86_64-unknown-linux-gnu) X-Face: PbkBB1w#)bOqd`iCe"Ds{e+!C7`pkC9a|f)Qo^BMQvy\q5x3?vDQJeN(DS?|-^$uMti[3D*#^_Ts"pU$jBQLq~Ud6iNwAw_r_o_4]|JO?]}P_}Nc&"p#D(ZgUb4uCNPe7~a[DbPG0T~!&c.y$Ur,=N4RT>]dNpd; KFrfMCylc}gc??'U2j,!8%xdD Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWbfGlUPDDHgE57V0jUupKjgIObY0PLrom9mH4dFRK4gmjPs41MxjOgAAACQElEQVQ4jW3TMWvbQBQHcBk1xE6WyALX1069oZBMlq+ouUwpEQQ6uRjttkWP4CmBgGM0BQLBdPFZYPsyFUo6uEtKDQ7oy/U96XR2Ux8ehH/89Z6enqxBcS7Lg81jmSuujrfCZcLI/TYYvbGj+jbgFpHJ/bqQAUISj8iLyu4LuFHJTosxsucO4jSDNE0Hq3hwK/ceQ5sx97b8LcUDsILfk+ovHkOIsMbBfg43VuQ5Ln9YAGCkUdKJoXR9EclFBhixy3EGVz1K6eEkhxCAkeMMnqoAhAKwhoUJkDrCqvbecaYINlFKSRS1i12VKH1XpUd4qxL876EkMcDvHj3s5RBajHHMlA5iK32e0C7VgG0RlzFPvoYHZLRmAC0BmNcBruhkE0KsMsbEc62ZwUJDxWUdMsMhVqovoT96i/DnX/ASvz/6hbCabELLk/6FF/8PNpPCGqcZTGFcBhhAaZZDbQPaAB3+KrWWy2XgbYDNIinkdWAFcCpraDE/knwe5DBqGmgzESl1p2E4MWAz0VUPgYYzmfWb9yS4vCvgsxJriNTHoIBz5YteBvg+VGISQWUqhMiByPIPpygeDBE6elD973xWwKkEiHZAHKjhuPsFnBuArrzxtakRcISv+XMIPl4aGBUJm8Emk7qBYU8IlgNEIpiJhk/No24jHwkKTFHDWfPniR4iw5vJaw2nzSjfq2zffcE/GDjRC2dn0J0XwPAbDL84TvaFCJEU4Oml9pRyEUhR3Cl2t01AoEjRbs0sYugp14/4X5n4pU4EHHnMAAAAAElFTkSuQmCC X-PGP-FP: AC1F 5F5C D418 88F8 CC84 5858 2060 4012 5075 1FF4 X-PGP: 50751FF4 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) * simple.el (cycle-spacing): Never delete spaces on first run by default, but do so in a new 'fast mode and if there are already N spaces (the previous behaviour). Compare N with its value in previous invocation so that changing prefix argument restarts `cycle-spacing' sequence. The idea is that with this change, binding M-SPC to `cycle-spacing' should not introduce any changes in behaviour of the binding so long as users do not type M-SPC twice in a raw with the same prefix argument or lack thereof. --- lisp/ChangeLog | 14 ++++++++++++++ lisp/simple.el | 59 ++++++++++++++++++++++++++++++++-------------------------- 2 files changed, 47 insertions(+), 26 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b61da99..e53eacd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,17 @@ +2014-03-26 Michal Nazarewicz + + * simple.el (cycle-spacing): Never delete spaces on first run by + default, but do so in a new 'fast mode and if there are already + N spaces (the previous behaviour). + + Compare N with its value in previous invocation so that changing + prefix argument restarts `cycle-spacing' sequence. + + The idea is that with this change, binding M-SPC to + `cycle-spacing' should not introduce any changes in behaviour of + the binding so long as users do not type M-SPC twice in a raw with + the same prefix argument or lack thereof. + 2014-03-26 Daniel Colascione * simple.el (process-menu-mode-map): New variable. diff --git a/lisp/simple.el b/lisp/simple.el index 2ee6231..2bfab4a 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -801,44 +801,51 @@ If BACKWARD-ONLY is non-nil, only delete them before point." If N is negative, delete newlines as well, leaving -N spaces. See also `cycle-spacing'." (interactive "*p") - (cycle-spacing n nil t)) + (cycle-spacing n nil 'single-shot)) (defvar cycle-spacing--context nil "Store context used in consecutive calls to `cycle-spacing' command. -The first time this function is run, it saves the original point -position and original spacing around the point in this -variable.") +The first time this function is run, it saves N argument, the +original point position and original spacing around the point in +this variable.") -(defun cycle-spacing (&optional n preserve-nl-back single-shot) +(defun cycle-spacing (&optional n preserve-nl-back mode) "Manipulate whitespace around point in a smart way. -In interactive use, this function behaves differently in successive -consecutive calls. +In interactive use, this function behaves differently in +successive consecutive calls. -The first call in a sequence acts like `just-one-space'. -It deletes all spaces and tabs around point, leaving one space -\(or N spaces). N is the prefix argument. If N is negative, -it deletes newlines as well, leaving -N spaces. -\(If PRESERVE-NL-BACK is non-nil, it does not delete newlines before point.) +The first call in a sequence acts like `just-one-space'. It +deletes all spaces and tabs around point, leaving one space \(or +N spaces). N is the prefix argument. If N is negative, it +deletes newlines as well leaving -N spaces. (If PRESERVE-NL-BACK +is non-nil, it does not delete newlines before point.) -The second call in a sequence (or the first call if the above does -not result in any changes) deletes all spaces. +The second call in a sequence deletes all spaces. -The third call in a sequence restores the original whitespace (and point). +The third call in a sequence restores the original +whitespace (and point). -If SINGLE-SHOT is non-nil, it only performs the first step in the sequence." +If MODE is 'single-shot only the first step is performed. If +MODE is 'fast and the first step did not result in any +change (i.e. there was exactly (abs N) spaces around point) +function goes to the second step immediately. + +Running the function with different N arguments initiates a new +sequence each time." (interactive "*p") (let ((orig-pos (point)) (skip-characters (if (and n (< n 0)) " \t\n\r" " \t")) - (n (abs (or n 1)))) + (num (abs (or n 1)))) (skip-chars-backward (if preserve-nl-back " \t" skip-characters)) (constrain-to-field nil orig-pos) (cond - ;; Command run for the first time or single-shot is non-nil. - ((or single-shot + ;; Command run for the first time, single-shot mode or different argument + ((or (eq 'single-shot mode) (not (equal last-command this-command)) - (not cycle-spacing--context)) + (not cycle-spacing--context) + (not (eq (car cycle-spacing--context) n))) (let* ((start (point)) - (n (- n (skip-chars-forward " " (+ n (point))))) + (num (- num (skip-chars-forward " " (+ num (point))))) (mid (point)) (end (progn (skip-chars-forward skip-characters) @@ -846,12 +853,12 @@ If SINGLE-SHOT is non-nil, it only performs the first step in the sequence." (setq cycle-spacing--context ;; Save for later. ;; Special handling for case where there was no space at all. (unless (= start end) - (cons orig-pos (buffer-substring start (point))))) + (cons n (cons orig-pos (buffer-substring start (point)))))) ;; If this run causes no change in buffer content, delete all spaces, ;; otherwise delete all excess spaces. - (delete-region (if (and (not single-shot) (zerop n) (= mid end)) + (delete-region (if (and (eq mode 'fast) (zerop num) (= mid end)) start mid) end) - (insert (make-string n ?\s)))) + (insert (make-string num ?\s)))) ;; Command run for the second time. ((not (equal orig-pos (point))) @@ -859,8 +866,8 @@ If SINGLE-SHOT is non-nil, it only performs the first step in the sequence." ;; Command run for the third time. (t - (insert (cdr cycle-spacing--context)) - (goto-char (car cycle-spacing--context)) + (insert (cddr cycle-spacing--context)) + (goto-char (cadr cycle-spacing--context)) (setq cycle-spacing--context nil))))) (defun beginning-of-buffer (&optional arg) -- 1.9.1.423.g4596e3a From unknown Sat Jun 14 05:02:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17110: [PATCH] Make `cycle-spacing' behave more like `just-one-space' if called once. Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Mar 2014 14:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17110 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Michal Nazarewicz Cc: acm@muc.de, 17110@debbugs.gnu.org, emacs-devel@gnu.org, rms@gnu.org, rgm@gnu.org X-Debbugs-Original-Cc: Alan Mackenzie , bug-gnu-emacs@gnu.org, emacs-devel@gnu.org, Richard Stallman , Glenn Morris Received: via spool by submit@debbugs.gnu.org id=B.139593050331393 (code B ref -1); Thu, 27 Mar 2014 14:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Mar 2014 14:28:23 +0000 Received: from localhost ([127.0.0.1]:52865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTBI2-0008AD-Us for submit@debbugs.gnu.org; Thu, 27 Mar 2014 10:28:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46430) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTBHw-0008A1-Dr for submit@debbugs.gnu.org; Thu, 27 Mar 2014 10:28:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTBHm-0005zk-Mf for submit@debbugs.gnu.org; Thu, 27 Mar 2014 10:28:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTBHm-0005ze-J7 for submit@debbugs.gnu.org; Thu, 27 Mar 2014 10:28:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTBHe-00069P-C6 for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 10:28:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTBHW-0005wB-6y for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 10:27:54 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:34363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTBH3-0005WC-6c; Thu, 27 Mar 2014 10:27:17 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s2RERFfl005319; Thu, 27 Mar 2014 10:27:15 -0400 Received: by pastel.home (Postfix, from userid 20848) id E10A560217; Thu, 27 Mar 2014 10:27:14 -0400 (EDT) From: Stefan Monnier Message-ID: References: <20140129202810.GA3092@acm.acm> Date: Thu, 27 Mar 2014 10:27:14 -0400 In-Reply-To: (Michal Nazarewicz's message of "Mon, 10 Feb 2014 13:19:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4894=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4894> : inlines <652> : streams <1145574> : uri <1711556> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) > * simple.el (cycle-spacing): Never delete spaces on first run by > default, but do so in a new 'fast mode and if there are already > N spaces (the previous behaviour). Looks OK to me (for trunk). Stefan From unknown Sat Jun 14 05:02:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17110: [PATCH] Make `cycle-spacing' behave more like `just-one-space' if called once. Resent-From: Michal Nazarewicz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Mar 2014 16:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17110 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Monnier Cc: acm@muc.de, 17110@debbugs.gnu.org, emacs-devel@gnu.org, rms@gnu.org, rgm@gnu.org X-Debbugs-Original-Cc: Alan Mackenzie , bug-gnu-emacs@gnu.org, emacs-devel@gnu.org, Richard Stallman , Glenn Morris Received: via spool by submit@debbugs.gnu.org id=B.13960241771938 (code B ref -1); Fri, 28 Mar 2014 16:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Mar 2014 16:29:37 +0000 Received: from localhost ([127.0.0.1]:55040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTZex-0000VB-Qz for submit@debbugs.gnu.org; Fri, 28 Mar 2014 12:29:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47678) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTZeu-0000Uz-U0 for submit@debbugs.gnu.org; Fri, 28 Mar 2014 12:29:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTZet-0006OV-Ho for submit@debbugs.gnu.org; Fri, 28 Mar 2014 12:29:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTZet-0006OQ-F6 for submit@debbugs.gnu.org; Fri, 28 Mar 2014 12:29:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTZes-0004bz-I1 for bug-gnu-emacs@gnu.org; Fri, 28 Mar 2014 12:29:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTZeq-0006NJ-R7 for bug-gnu-emacs@gnu.org; Fri, 28 Mar 2014 12:29:30 -0400 Received: from mail-ee0-x22d.google.com ([2a00:1450:4013:c00::22d]:59638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTZeq-0006Mp-Fi for bug-gnu-emacs@gnu.org; Fri, 28 Mar 2014 12:29:28 -0400 Received: by mail-ee0-f45.google.com with SMTP id d17so4244527eek.18 for ; Fri, 28 Mar 2014 09:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:organization:references :user-agent:face:date:message-id:mime-version:content-type; bh=haRCKINgjGOFDHnBz//Selc/Jvw09QvIIH83TmRDbA4=; b=dJszHssAFYkWCJbS33FasXzMKKH+6vbkM+gAhtdZqTdpCv9oENYz30E6Np2nMp5rQU PDMkEfi3EWZdLneSuMpOQLYJieEXfy0AhbOw+uqSDMNYkWNDYNxojj3MSWDRX6tWlTbn 7eK0MYJHdjq1pkTqsKqGHjo1CD+r9WNt+Jk6ZkEyN64W/nJ7PlkGkAhWx/djjeahwleD bmcRQDhM02xY0waiq4GNdmx+OPqIJrtV22IYGzfXb8ajkjzgcCP/Yol2WJYB4X1bJtis 5ZiGI+RiQuhb3OQfaHx+2xGwT2jVxWW2tXm8o2zaIbL1sBTpq63DanD8PssYgz/HnWDE 0QFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to :organization:references:user-agent:face:date:message-id :mime-version:content-type; bh=haRCKINgjGOFDHnBz//Selc/Jvw09QvIIH83TmRDbA4=; b=GOSnHdlP5BanYnibXa4RtxM9qs1Osqqjn2R3D3FPSjl7QGtlwmJ4ZstCb4QnlD5pkM J2rrHa+OdNaNQckWqPXwhWZJr4fjSZzo2lr2DY1h7sVnphJk4Uf7n8nO6W/hC3kiUadQ 5qYIIrybnPKWF+oXWmaEOlmfuJccs+BRrG0+A959R3p4gaI+l5f8YFz0esmXssAc+Q2G gCHDvISyxCPLUDhpcUJUl9NSLAfGWlaQGxryq5CvbR3rxZXmVXdc0j0I9WyNB0slKljo Sgfljj1b5iaj8v9SOs4idvM2Rifd55M/pWuFVdBVQiiXT/nn6iTY5YYPVbM/P4RgNMpJ gssQ== X-Gm-Message-State: ALoCoQkV0GFEqqjLZGop/HzbqB0n9n06jQhxigbErbUzgNFHNnwm0Y/PLDwvzU/DZTxwCog0WKd7uvT6aUUSt1+GbAA4NstPRK2mOGht0BMgueIuVyzsdtMMS5RZJ3avd16B9t+j3lk72kGZTTfaqsQcW0CeUAHZmOe/N/JXOwsu/q5VuqJ/AhLzIXkrl58tyXRiYT5RR/em+w/tQ4wlE9x0KxFOr1LWXA== X-Received: by 10.15.50.136 with SMTP id l8mr1306633eew.73.1396024167213; Fri, 28 Mar 2014 09:29:27 -0700 (PDT) Received: from mpn-glaptop.roam.corp.google.com ([2620:0:105f:301:ddd6:a99c:2688:9821]) by mx.google.com with ESMTPSA id y7sm12635620eev.5.2014.03.28.09.29.25 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Mar 2014 09:29:26 -0700 (PDT) From: Michal Nazarewicz In-Reply-To: Organization: http://mina86.com/ References: <20140129202810.GA3092@acm.acm> User-Agent: Notmuch/0.17+15~gb65ca8e (http://notmuchmail.org) Emacs/24.3.50.1 (x86_64-unknown-linux-gnu) X-Face: PbkBB1w#)bOqd`iCe"Ds{e+!C7`pkC9a|f)Qo^BMQvy\q5x3?vDQJeN(DS?|-^$uMti[3D*#^_Ts"pU$jBQLq~Ud6iNwAw_r_o_4]|JO?]}P_}Nc&"p#D(ZgUb4uCNPe7~a[DbPG0T~!&c.y$Ur,=N4RT>]dNpd; KFrfMCylc}gc??'U2j,!8%xdD Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWbfGlUPDDHgE57V0jUupKjgIObY0PLrom9mH4dFRK4gmjPs41MxjOgAAACQElEQVQ4jW3TMWvbQBQHcBk1xE6WyALX1069oZBMlq+ouUwpEQQ6uRjttkWP4CmBgGM0BQLBdPFZYPsyFUo6uEtKDQ7oy/U96XR2Ux8ehH/89Z6enqxBcS7Lg81jmSuujrfCZcLI/TYYvbGj+jbgFpHJ/bqQAUISj8iLyu4LuFHJTosxsucO4jSDNE0Hq3hwK/ceQ5sx97b8LcUDsILfk+ovHkOIsMbBfg43VuQ5Ln9YAGCkUdKJoXR9EclFBhixy3EGVz1K6eEkhxCAkeMMnqoAhAKwhoUJkDrCqvbecaYINlFKSRS1i12VKH1XpUd4qxL876EkMcDvHj3s5RBajHHMlA5iK32e0C7VgG0RlzFPvoYHZLRmAC0BmNcBruhkE0KsMsbEc62ZwUJDxWUdMsMhVqovoT96i/DnX/ASvz/6hbCabELLk/6FF/8PNpPCGqcZTGFcBhhAaZZDbQPaAB3+KrWWy2XgbYDNIinkdWAFcCpraDE/knwe5DBqGmgzESl1p2E4MWAz0VUPgYYzmfWb9yS4vCvgsxJriNTHoIBz5YteBvg+VGISQWUqhMiByPIPpygeDBE6elD973xWwKkEiHZAHKjhuPsFnBuArrzxtakRcISv+XMIPl4aGBUJm8Emk7qBYU8IlgNEIpiJhk/No24jHwkKTFHDWfPniR4iw5vJaw2nzSjfq2zffcE/GDjRC2dn0J0XwPAbDL84TvaFCJEU4Oml9pRyEUhR3Cl2t01AoEjRbs0sYugp14/4X5n4pU4EHHnMAAAAAElFTkSuQmCC X-PGP: 50751FF4 X-PGP-FP: AC1F 5F5C D418 88F8 CC84 5858 2060 4012 5075 1FF4 X-Hashcash: 1:20:140328:rgm@gnu.org::cL1s10aEWu4VH2pK:0000000TPQ X-Hashcash: 1:20:140328:emacs-devel@gnu.org::uXY7RVPhCgmw/405:0000000000000000000000000000000000000000000aV9 X-Hashcash: 1:20:140328:monnier@iro.umontreal.ca::r4cF3p5/6x0Hs0R9:00000000000000000000000000000000000000+hZ X-Hashcash: 1:20:140328:acm@muc.de::UsZPVManrANjsXgI:00000001kGN X-Hashcash: 1:20:140328:rms@gnu.org::F6924u4N68DQ7+X8:00000035Jr X-Hashcash: 1:20:140328:bug-gnu-emacs@gnu.org::ElNf6iJLQpGgeWGO:00000000000000000000000000000000000000004Alv Date: Fri, 28 Mar 2014 17:29:20 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Mar 27 2014, Stefan Monnier wrote: >> * simple.el (cycle-spacing): Never delete spaces on first run by >> default, but do so in a new 'fast mode and if there are already >> N spaces (the previous behaviour). > > Looks OK to me (for trunk). Thanks, pushed. --=20 Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o ..o | Computer Science, Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz = (o o) ooo +------ooO--(_)--Ooo-- --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJTNaNgAAoJECBgQBJQdR/0SxcP/iZZqkzo5tRwjpvpaGY9GAAV At3k9wdErtQH5UlrnnlCy6MSfJEaL2P2du1+jfyl63/SZp17u/YN2k0rdKzXQbwG gu1pwxqJaGmjyHRnkJ8L4xwwYtFPFLl6zE92mvFCA7zjGxit+UHlGCpNjY7FT1s1 Yw72W1yfxNcUomNV/em+czdTOEPMfq8ZGMQ5GmlPPRgYPWWKz908lOVcX/TrSKyT YtuqPCLJX5KSQc+e/iBle49r89bstXM5asB7R7oFqa5upf2iOHNL4GeZqNlMPrNf xI3jvATCH8TgCR4VuBmvd3OqXcjy93pCDm6Uzkn1I2MFjdQ0eN7P/s3iCiQq3CCW jYia2HfGDZ8iA37EfzU4tzTkssfhp7xYGQkzwWZlSswFoHnfqmZbVHZwSz8ke2Xu NgfWUx3Ytni/dQSPbnWFO0hRv2kw8M9a54PGGrg9+62McO+Ku58aJXy3kIU1eH+e ucDcMA+jgCffj5IiLn6jG+GejZx/NL5DM+cbdGFhX8NJSNoJABCW0/XzpbxFXs6X t3h5Jdm83HS3fj6AlC8gMMAdcKvLsVEXrfbkzawGVck0/4EwsGV4Wt4XY2ztB4hB 2qnZ6v+jFiXAUW64+oZz0eM1JPW+G6+89zOw2PQxf9G9FMrc/e/oxmV8Ip4kSfW0 7Cehlm6ERzr9GzvYNYGd =UXk0 -----END PGP SIGNATURE----- --==-=-=-- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 30 20:35:52 2014 Received: (at control) by debbugs.gnu.org; 31 Mar 2014 00:35:52 +0000 Received: from localhost ([127.0.0.1]:57409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUQCd-0006LN-O1 for submit@debbugs.gnu.org; Sun, 30 Mar 2014 20:35:52 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:53310) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUQCa-0006LC-QJ for control@debbugs.gnu.org; Sun, 30 Mar 2014 20:35:49 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WUQCa-0003yh-Ap for control@debbugs.gnu.org; Sun, 30 Mar 2014 20:35:48 -0400 Date: Sun, 30 Mar 2014 20:35:48 -0400 Message-Id: Subject: control message for bug 17110 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) close 17110 24.5 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 04 12:35:32 2014 Received: (at control) by debbugs.gnu.org; 4 Oct 2014 16:35:32 +0000 Received: from localhost ([127.0.0.1]:33183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XaSIt-0002m9-8U for submit@debbugs.gnu.org; Sat, 04 Oct 2014 12:35:31 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:60039) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XaSIr-0002lz-Gi for control@debbugs.gnu.org; Sat, 04 Oct 2014 12:35:29 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XaSIq-0005r2-MO; Sat, 04 Oct 2014 12:35:28 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <21552.8656.554316.921175@gnu.org> Date: Sat, 4 Oct 2014 12:35:28 -0400 From: Glenn Morris To: GNU bug tracker automated control server Subject: Update Emacs archived fixed bugs for 24.5 version number change X-Debbugs-No-Ack: yes X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) unarchive 18304 fixed 18304 25.1 notfixed 18304 24.5 unarchive 12008 fixed 12008 25.1 notfixed 12008 24.5 unarchive 17110 fixed 17110 25.1 notfixed 17110 24.5 unarchive 17218 fixed 17218 25.1 notfixed 17218 24.5 unarchive 18222 fixed 18222 25.1 notfixed 18222 24.5 unarchive 18023 fixed 18023 25.1 notfixed 18023 24.5 unarchive 17225 fixed 17225 25.1 notfixed 17225 24.5 unarchive 16626 fixed 16626 25.1 notfixed 16626 24.5 unarchive 18326 fixed 18326 25.1 notfixed 18326 24.5 unarchive 18227 fixed 18227 25.1 notfixed 18227 24.5 unarchive 16328 fixed 16328 25.1 notfixed 16328 24.5 unarchive 17333 fixed 17333 25.1 notfixed 17333 24.5 unarchive 13837 fixed 13837 25.1 notfixed 13837 24.5 unarchive 17641 fixed 17641 25.1 notfixed 17641 24.5 unarchive 18341 fixed 18341 25.1 notfixed 18341 24.5 unarchive 18349 fixed 18349 25.1 notfixed 18349 24.5 unarchive 2151 fixed 2151 25.1 notfixed 2151 24.5 unarchive 5853 fixed 5853 25.1 notfixed 5853 24.5 unarchive 17857 fixed 17857 25.1 notfixed 17857 24.5 unarchive 17858 fixed 17858 25.1 notfixed 17858 24.5 unarchive 17859 fixed 17859 25.1 notfixed 17859 24.5 unarchive 17160 fixed 17160 25.1 notfixed 17160 24.5 unarchive 2263 fixed 2263 25.1 notfixed 2263 24.5 unarchive 18368 fixed 18368 25.1 notfixed 18368 24.5 unarchive 17772 fixed 17772 25.1 notfixed 17772 24.5 unarchive 17276 fixed 17276 25.1 notfixed 17276 24.5 unarchive 15991 fixed 15991 25.1 notfixed 15991 24.5 unarchive 17699 fixed 17699 25.1 notfixed 17699 24.5