From unknown Mon Aug 18 08:27:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1948 <1948@debbugs.gnu.org> To: bug#1948 <1948@debbugs.gnu.org> Subject: Status: confusion and bug in dabbrev.el Reply-To: bug#1948 <1948@debbugs.gnu.org> Date: Mon, 18 Aug 2025 15:27:55 +0000 retitle 1948 confusion and bug in dabbrev.el reassign 1948 emacs submitter 1948 Peter Tury severity 1948 normal tag 1948 fixed patch confirmed thanks From tury.peter@gmail.com Sun Jan 18 11:38:54 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jan 2009 19:38:54 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0IJcofv022837 for ; Sun, 18 Jan 2009 11:38:52 -0800 Received: from mail.gnu.org ([199.232.76.166]:47988 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LOdSV-00067F-SG for emacs-pretest-bug@gnu.org; Sun, 18 Jan 2009 14:37:23 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LOdTt-0006xZ-EQ for emacs-pretest-bug@gnu.org; Sun, 18 Jan 2009 14:38:50 -0500 Received: from mail-bw0-f17.google.com ([209.85.218.17]:58263) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOdTs-0006xN-RT for emacs-pretest-bug@gnu.org; Sun, 18 Jan 2009 14:38:49 -0500 Received: by bwz10 with SMTP id 10so145665bwz.18 for ; Sun, 18 Jan 2009 11:38:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=tnzVpj/Uz59Sg1Nwk1pKLZYPS4etkbnVEAMkP8PbIN8=; b=UH5QRrzahc4XRGyqh3QPqr5E6UCkMGPtozu0P+ayEJwlcGcXntS8lJCsVufnYyoJZO tpjY9zSFu84p6NBUyww/fcB2bFNAMbzXOTr8ZXuu0SDEqc3dl/JVjk/nVUvtfUtLIVwQ TVSLbCFA6moLEJkwDBA7aBucNja4w7l2UNGtI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=L8ImhbE+pw/WcrQeMLjcQvzw/xrw4TSuSKnHJmF24YnoL9+TZ6S6H3PfnSHup4+XQT 3fbFoDP0BIwzKaZiAFyyUsDBwAvs5GssFXnO9pwschePEwY1ap0Ycs+sM5JmWl4RAi3i rS6cgCtPXuxbbUDawQz8doLeTE1g+D8zCmo3A= MIME-Version: 1.0 Received: by 10.103.106.1 with SMTP id i1mr170895mum.47.1232307473849; Sun, 18 Jan 2009 11:37:53 -0800 (PST) Date: Sun, 18 Jan 2009 20:37:53 +0100 Message-ID: Subject: confusion and bug in dabbrev.el From: Peter Tury To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Hi, 1) in `dabbrev--substitute-expansion' (in dabbrev.el), `t' value of variable `dabbrev-eliminate-newlines' causes elimination of spaces (and tabs) as well. Thus its name and its functionality are not really compatible. In the best case it should have a better name (`dabbrev-eliminate-whitespace'??), but as a minimum, its documentation should be improved and mention elimination of tabs and spaces as well, I think. Moreover, contrary to its documentation again, it doesn't "converts them [=newlines] to spaces": instead it just removes them. So its documentation should be fixed here as well in my opinion. 2) However, the more serious problem is that it "forgets" such eliminations when it searches for `old' expansion in case of repeated calls of `dabbrev-expand' (i.e. when the check "(eq last-command this-command)" in this function results t) what results in weird text in some cases. To check this: * customize `dabbrev-abbrev-char-regexp' to be a period (.) Thus dabbrev-expand will replace whole lines. * type these two lines into a buffer (with double spaces between the words!): one tt one ww * then type "on" in the next line and call `dabbrev-expand' two times. Your buffer should look like this at the end: one tt one ww one tt But instead you will get this: one tt one tt one ww What seems to be a complete mess. As I see the key here is the search for `old' at the end of `dabbrev--substitute-expansion' (`old' is the first parameter of this function). If I replace the following original code: " (if old (save-excursion (search-backward old))" to be " (if old ;; Convert whitespace to single spaces. (progn (if dabbrev-eliminate-newlines (let ((pos (if (equal abbrev " ") 0 (length abbrev)))) ;; If ABBREV is real, search after the end of it. ;; If ABBREV is space and we are copying successive words, ;; search starting at the front. (while (string-match "[\n \t]+" old pos) (setq pos (1+ (match-beginning 0))) (setq old (replace-match " " nil nil old))))) (save-excursion (search-backward old)))" my test (above) works well. Here I simply copy-pasted (...) original whitespace-elimination code from few lines above, so this is clearly not a nice solution: it just shows a way of fixing the broken functionality. (I "reported" this problem in gnu.emacs.help with the subject "strange dabbrev for whole lines and double spaces in cvs Emacs 23" on Jan.8.2009) Could you please fix these bugs in dabbrev.el. Thanks, P From cyd@stupidchicken.com Mon Jan 19 06:54:30 2009 Received: (at 1948) by emacsbugs.donarmstrong.com; 19 Jan 2009 14:54:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0JEsRRw022315 for <1948@emacsbugs.donarmstrong.com>; Mon, 19 Jan 2009 06:54:28 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id C23BE57E18A; Mon, 19 Jan 2009 09:54:48 -0500 (EST) From: Chong Yidong To: Lars Lindberg Cc: 1948@debbugs.gnu.org, Peter Tury Subject: Re: confusion and bug in dabbrev.el Date: Mon, 19 Jan 2009 09:54:48 -0500 Message-ID: <871vuzpcqv.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Lars, could you take a look at this bug report for dabbrev? Thanks. Peter Tury wrote: > 1) in `dabbrev--substitute-expansion' (in dabbrev.el), `t' value of > variable `dabbrev-eliminate-newlines' causes elimination of spaces > (and tabs) as well. Thus its name and its functionality are not really > compatible. In the best case it should have a better name > (`dabbrev-eliminate-whitespace'??), but as a minimum, its > documentation should be improved and mention elimination of tabs and > spaces as well, I think. > Moreover, contrary to its documentation again, it doesn't "converts > them [=newlines] to spaces": instead it just removes them. So its > documentation should be fixed here as well in my opinion. > 2) However, the more serious problem is that it "forgets" such > eliminations when it searches for `old' expansion in case of repeated > calls of `dabbrev-expand' (i.e. when the check "(eq last-command > this-command)" in this function results t) what results in weird text > in some cases. To check this: > * customize `dabbrev-abbrev-char-regexp' to be a period (.) Thus > dabbrev-expand will replace whole lines. > * type these two lines into a buffer (with double spaces between the > words!): > one tt > one ww > * then type "on" in the next line and call `dabbrev-expand' two times. > Your buffer should look like this at the end: > one tt > one ww > one tt > But instead you will get this: > one tt > one tt > one ww > What seems to be a complete mess. > As I see the key here is the search for `old' at the end of > `dabbrev--substitute-expansion' (`old' is the first parameter of this > function). If I replace the following original code: > " (if old > (save-excursion > (search-backward old))" > to be > " (if old > ;; Convert whitespace to single spaces. > (progn > (if dabbrev-eliminate-newlines > (let ((pos > (if (equal abbrev " ") 0 (length abbrev)))) > ;; If ABBREV is real, search after the end of it. > ;; If ABBREV is space and we are copying > successive words, > ;; search starting at the front. > (while (string-match "[\n \t]+" > old pos) > (setq pos (1+ > (match-beginning 0))) > (setq old > (replace-match > " " nil > nil > old))))) > (save-excursion > (search-backward > old)))" > my test (above) works well. Here I simply copy-pasted (...) original > whitespace-elimination code from few lines above, so this is clearly > not a nice solution: it just shows a way of fixing the broken > functionality. > (I "reported" this problem in gnu.emacs.help with the subject "strange > dabbrev for whole lines and double spaces in cvs Emacs 23" on > Jan.8.2009) From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 15 14:37:02 2010 Received: (at 1948-quiet) by debbugs.gnu.org; 15 Jan 2010 19:37:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NVryf-0007hr-Mh for submit@debbugs.gnu.org; Fri, 15 Jan 2010 14:37:01 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NVryH-0007hK-A3 for 1948-quiet@debbugs.gnu.org; Fri, 15 Jan 2010 14:36:37 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NVryD-0001RC-3Z for 1948-quiet@debbugs.gnu.org; Fri, 15 Jan 2010 14:36:33 -0500 From: Stephen Berman To: 1948-quiet@debbugs.gnu.org Subject: dabbrev-eliminate-newlines Date: Fri, 09 May 2008 14:01:53 +0200 Lines: 26 X-From-Line: emacs-devel-bounces+rgm=gnu.org@gnu.org Fri May 9 08:02:54 2008 Received: from mx10.gnu.org ([199.232.76.166]:45198) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JuRJO-00018r-Kj for rgm@gnu.org; Fri, 09 May 2008 08:02:54 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JuRK4-0004hR-2x for rgm@gnu.org; Fri, 09 May 2008 08:03:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS, SPF_PASS,TRACKER_ID,UNPARSEABLE_RELAY autolearn=no version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:37976) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JuRK3-0004h5-6t for rgm@gnu.org; Fri, 09 May 2008 08:03:35 -0400 Received: from localhost ([127.0.0.1]:49268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuRK2-0005SZ-TX for rgm@gnu.org; Fri, 09 May 2008 08:03:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JuRIl-0004q4-9d for emacs-devel@gnu.org; Fri, 09 May 2008 08:02:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JuRIh-0004kh-AI for emacs-devel@gnu.org; Fri, 09 May 2008 08:02:12 -0400 Received: from [199.232.76.173] (port=53978 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuRIg-0004jq-N2 for emacs-devel@gnu.org; Fri, 09 May 2008 08:02:10 -0400 Received: from main.gmane.org ([80.91.229.2]:40017 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JuRIg-0004Nt-7c for emacs-devel@gnu.org; Fri, 09 May 2008 08:02:10 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JuRIY-0007jH-SY for emacs-devel@gnu.org; Fri, 09 May 2008 12:02:02 +0000 Received: from i5387d8f6.versanet.de ([83.135.216.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 May 2008 12:02:02 +0000 Received: from Stephen.Berman by i5387d8f6.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 May 2008 12:02:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ X-Debbugs-No-Ack: yes X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387d8f6.versanet.de X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 1948-quiet X-Mailman-Approved-At: Fri, 15 Jan 2010 14:37:01 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) [ resent from http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00619.html ] If you have a buffer with this text: ------8<------ First. Second. ------>8------ and later in the buffer type `M-/ SPC M-/', Emacs (started with -Q) inserts this: ------8<------ First. Second ------>8------ It was only by stepping through Dabbrev expansion with Edebug that I learned that this behavior is due to dabbrev-eliminate-newlines, in particular that it is t by default. Before that I wasn't even aware of this variable. I think at the very least dabbrev-eliminate-newlines should be documented in (emacs)Dabbrev Customization, and its doc string should reflect the above behavior (currently it reads "*Non-nil means dabbrev should not insert newlines. Instead it converts them to spaces."). It might also be a good idea to go a step further and separate the handling of newlines and spaces, letting them be independently customizable. Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 12 15:24:37 2012 Received: (at 1948) by debbugs.gnu.org; 12 Sep 2012 19:24:37 +0000 Received: from localhost ([127.0.0.1]:57711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBsY8-0001WP-T2 for submit@debbugs.gnu.org; Wed, 12 Sep 2012 15:24:37 -0400 Received: from fperrin.net ([87.98.132.43]:42806 helo=mail.fperrin.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBsWp-0001UC-Ve for 1948@debbugs.gnu.org; Wed, 12 Sep 2012 15:23:17 -0400 Received: from www-insecure.fperrin.net (www-insecure.priv.fperrin.net [IPv6:fd93:c8e5:9cb3:666::8080]) by mail.fperrin.net (Postfix) with ESMTP id 903933AA9; Wed, 12 Sep 2012 21:22:26 +0200 (CEST) Received: (from www@localhost) by www-insecure.fperrin.net (8.14.5/8.14.5/Submit) id q8CJMP5H005129; Wed, 12 Sep 2012 21:22:25 +0200 (CEST) (envelope-from fred@fperrin.net) X-Authentication-Warning: www-insecure.priv.fperrin.net: www set sender to fred@fperrin.net using -f To: <1948@debbugs.gnu.org>, Subject: bug#1948: confusion and bug in dabbrev.el X-PHP-Originating-Script: 0:main.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 12 Sep 2012 21:22:25 +0200 From: Fred Organization: % tar -jx < *.bz Message-ID: <5aefaa82797fd967d495a5eebc1ec81f@mail.priv.fperrin.net> X-Sender: fred@fperrin.net User-Agent: Roundcube Webmail/0.7.2 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 1948 X-Mailman-Approved-At: Wed, 12 Sep 2012 15:24:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) Follow-up to http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1948 I seem to be experiencing a bad version of this bug. In some instances, dabbrev seems to feel like not only inserting text at point (which is expected) but also modifying some text in other parts of the buffer. For some reason, TCL code seems to trigger the bug quite easily. To see what I experienced: Save the following as blah.tcl: ====== beginning of blah.tcl proc check { topology } { set network [ blahblah ] preconfig $topology $networks do_check $topology $networks } # Apply the default pre-config steps for each device proc preconfig { topology networks } { foreach node [ keylkeys topology ] { set config [ get_config -device $node -type pre ] apply_config $node $config } } # do the actual check proc do_check { ====== end of blah.tcl Start `emacs -Q', and either look at the `view-lossage' output included below, or in plain English: - Open blah.tcl - Put the point after the opening brace of do_check; - Insert `SPC top' and complete with `dabbrev-expand' (M-/) to get `topology'; - Insert `SPC' and try to complete (M-/) until you get `topology network'. Expected: After a round or two, dabbrev inserts networks, based on the prototype of `preconfig'. At worse, it inserts rubbish and I have to give a longer hint to dabbrev. Actual result: Some text after the last occurence of `topology' is replaced, point has been moved, and procedure prototype has not been completed. With Peter Tury's patch to `dabbrev--substitute-expansion', point does not seem to start jumping around, replacing text in remote places (though I don't have the correct replacement, but whatever) In GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-09 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11203902 Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.2/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Tcl Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f / t m p / b l a h . t c l C-s d o _ c C-s C-e SPC t o p M-/ SPC M-/ M-/ C-/ C-/ M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark saved where search started Undo! [2 times] Making completion list... Load-path shadows: /usr/share/emacs/24.2/site-lisp/flim/hex-util hides /usr/share/emacs/24.2/lisp/hex-util /usr/share/emacs/24.2/site-lisp/flim/md4 hides /usr/share/emacs/24.2/lisp/md4 /usr/share/emacs/24.2/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.2/lisp/textmodes/flyspell /usr/share/emacs/24.2/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.2/lisp/textmodes/ispell /usr/share/emacs/24.2/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.2/lisp/net/sasl-ntlm /usr/share/emacs/24.2/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.2/lisp/net/sasl-digest /usr/share/emacs/24.2/site-lisp/flim/hmac-def hides /usr/share/emacs/24.2/lisp/net/hmac-def /usr/share/emacs/24.2/site-lisp/flim/sasl hides /usr/share/emacs/24.2/lisp/net/sasl /usr/share/emacs/24.2/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.2/lisp/net/hmac-md5 /usr/share/emacs/24.2/site-lisp/flim/ntlm hides /usr/share/emacs/24.2/lisp/net/ntlm /usr/share/emacs/24.2/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.2/lisp/net/sasl-cram Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode view dabbrev misearch multi-isearch tcl easymenu comint regexp-opt ansi-color ring time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Fred -- http://tar-jx.bz From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 18:36:22 2016 Received: (at 1948) by debbugs.gnu.org; 9 Jan 2016 23:36:22 +0000 Received: from localhost ([127.0.0.1]:44754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aI33W-0003N2-3B for submit@debbugs.gnu.org; Sat, 09 Jan 2016 18:36:22 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:35383) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aI33U-0003Mn-MP for 1948@debbugs.gnu.org; Sat, 09 Jan 2016 18:36:21 -0500 Received: by mail-wm0-f49.google.com with SMTP id f206so173050720wmf.0 for <1948@debbugs.gnu.org>; Sat, 09 Jan 2016 15:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=gxH9Cx+9mJZntaPjO8FBIx8iWPndYpN8LZ4ksS/vEkY=; b=FgJUhUoCgPXtxcDH3PeXkvWZB1pa+I6YpHZSwH/WBcd/3cDQ6agR+SYAG6OHqvsnIy hpqHtwb3IX3a/W5hM2hiD+O+vFD/q0IfElr9Vpur0v682WPe5hMe6WgNNjupCnmcXtxc aB3iQ2ao3hqtQWtbkiLy7x+DullIXCPYqvB76sYPDMYkcYT58bQYXGQC8BmU5BkpsuuE sU6VjKewfee51FWmPuZAf+DS273CeLaVuRehqKnnCQLOTJHjz7CmlB9PeUqB9NgzrK4R Fkw4XQ9PmJwNN1jWVc40rSbHtOCyiJRn2PymTIc+ur4P5LSog8SRMRpFtGlzR/mQtVw3 tESA== X-Received: by 10.194.9.98 with SMTP id y2mr65898330wja.105.1452382575207; Sat, 09 Jan 2016 15:36:15 -0800 (PST) Received: from galloway.idiocy.org (0.7.b.e.8.2.9.3.1.4.b.f.c.3.0.3.9.2.1.8.8.f.3.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:3f8:8129:303c:fb41:3928:eb70]) by smtp.gmail.com with ESMTPSA id xx3sm53849908wjc.32.2016.01.09.15.36.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Jan 2016 15:36:14 -0800 (PST) From: Alan J Third To: Peter Tury Subject: Re: bug#1948: confusion and bug in dabbrev.el References: Date: Sat, 09 Jan 2016 23:36:13 +0000 In-Reply-To: (Peter Tury's message of "Sun, 18 Jan 2009 20:37:53 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 1948 Cc: 1948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.5 (/) Peter Tury writes: > * type these two lines into a buffer (with double spaces between the words!): > one tt > one ww > > * then type "on" in the next line and call `dabbrev-expand' two times. > Your buffer should look like this at the end: > one tt > one ww > one tt > But instead you will get this: > one tt > one tt > one ww I'm still getting this weird behaviour in 25.1, but the above doesn't work exactly for me. Set dabbrev-eliminate-newlines to "t". Type: one tt one ww Then in the next line I have to type: one ^- space and M-/ (dabbrev-expand) completes it to: one ww Then if I hit M-/ again, point jumps up to the line above and replaces "ww". Subsequent M-/'s continue to fiddle with the same line. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 10 08:41:48 2016 Received: (at 1948) by debbugs.gnu.org; 10 Jan 2016 13:41:48 +0000 Received: from localhost ([127.0.0.1]:44897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aIGFg-0001O0-Bj for submit@debbugs.gnu.org; Sun, 10 Jan 2016 08:41:48 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:38356) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aIGFe-0001Nn-Md for 1948@debbugs.gnu.org; Sun, 10 Jan 2016 08:41:47 -0500 Received: by mail-wm0-f44.google.com with SMTP id b14so232519614wmb.1 for <1948@debbugs.gnu.org>; Sun, 10 Jan 2016 05:41:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=nFheUXvaTtCj9VarX0TRq+nJxrBBJYlFUhfSQwzx5CI=; b=L0D3ef3w40u3f/eizgE3DeD2PFxQVFn9WSjFAHLg918rTg6SVWFWMrYUuUh/Y42bdV jfMbfxfJIPeZG918NKMGFZD3bdjQO8av+5/F5CGQiWntKu4VwqhjfKkhZbu1+6oP2bKP UgVmY6H4eWDf3OM2HsGKcnjmmGa6cQ0s6rFI8XsQ4rRYQszXQ86PXogvzK3exSnj1Q6m V7P+2gDoXjXPYV+vA28gZhQfqXiC7JY6KROUClzpZVPcqh/byzLAS9C/187eDCpvrLsJ Kcx5L91OzjxekJmIkFilO6BxA/d3+H+GoHNu/n9YMcjPz7DbWkJH0BDr/iqLv3NbPpfE WOIg== X-Received: by 10.28.228.87 with SMTP id b84mr8123484wmh.81.1452433300828; Sun, 10 Jan 2016 05:41:40 -0800 (PST) Received: from galloway.idiocy.org (2.d.d.e.0.6.c.f.1.4.9.b.d.f.0.8.9.2.1.8.8.f.3.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:3f8:8129:80fd:b941:fc60:edd2]) by smtp.gmail.com with ESMTPSA id 73sm8339305wmm.7.2016.01.10.05.41.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jan 2016 05:41:39 -0800 (PST) From: Alan J Third To: 1948@debbugs.gnu.org Subject: Re: bug#1948: confusion and bug in dabbrev.el References: Date: Sun, 10 Jan 2016 13:41:38 +0000 In-Reply-To: (Alan J. Third's message of "Sat, 09 Jan 2016 23:36:13 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 1948 Cc: Peter Tury X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.5 (/) Alan J Third writes: > Type: > > one tt > one ww > > Then in the next line I have to type: > > one > ^- space > > and M-/ (dabbrev-expand) completes it to: > > one ww > > Then if I hit M-/ again, point jumps up to the line above and replaces > "ww". Subsequent M-/'s continue to fiddle with the same line. I got this slightly wrong. The full set of commands is: Type: one tt one ww on M-/ SPC M-/ M-/ I've written a test, but I'm not sure what to do with it: (ert-deftest dabbrev-expand-test () "Test for bug#1948. When DABBREV-ELIMINATE-NEWLINES is non-nil (the default), repeated calls to DABBREV-EXPAND can result in the source of first expansion being replaced rather than the destination." (with-temp-buffer (insert "ab x\na\nab y") (goto-char 8) (save-window-excursion (set-window-buffer nil (current-buffer)) ;; M-/ SPC M-/ M-/ (execute-kbd-macro "\257 \257\257")) (should (string= (buffer-string) "ab x\nab y\nab y")))) I haven't signed the copyright assignment stuff. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 21 14:56:10 2016 Received: (at control) by debbugs.gnu.org; 21 Jan 2016 19:56:11 +0000 Received: from localhost ([127.0.0.1]:56702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMLL0-000600-Oe for submit@debbugs.gnu.org; Thu, 21 Jan 2016 14:56:10 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:32770) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMLKz-0005zk-IW for control@debbugs.gnu.org; Thu, 21 Jan 2016 14:56:09 -0500 Received: by mail-wm0-f49.google.com with SMTP id 123so188525550wmz.0 for ; Thu, 21 Jan 2016 11:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:date:message-id:to:from:subject; bh=kIrpyI4nFivSNJMFCbsuUOjQPaCeO4spKdZNIBIJsQ8=; b=u0gO+ebjagrWvil4hZLpArsnIc3WD9QH8s9h1ukyl59TwuiS8tyaaIiR/GxauoggAt UPQHJ89rrTxfBxGJAy+MF1gmBek6iYjGss9vn7gXYWMMV5tMnBm1ReJDJaZ9DekgOtbC 60QU9YqKWmp7JZnERSOGyjid23c+TmVYC01Njj+wD+qg9xAO4XE+GFXbDGA6YJrn2HZn RUf9s5arr7WYz5QPtIINP6dHGTLlV9654LR+9PsuGvu9+w3XmhrhKdpsQqYQ33yUG1xd p/TEKf2YccIwVK/Q7TvxAf9x8c0v+1yEpCmB0OoNOpXMtdzAtYOcmAIjdRgj1gKyZm3r zsrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:message-id:to:from:subject; bh=kIrpyI4nFivSNJMFCbsuUOjQPaCeO4spKdZNIBIJsQ8=; b=moCc905IIELif3L81zxxbhMGMSICKHVOz4/BZyZ4P/UoDqqvT5bx4z2P7J1XfPQDmH 5n+8Ecv8SZzvVWqyR03yL+jEkl67hiTG9QOcYW1M3GenDl1LQ9fRTTcVbFG4/sxp/BOQ WZCiHMJXKmbBw+eojbJ+7PumW/ToPm8QOtDMh3IXZABXZ8HF+tu4IULKsE4vM86cr/BQ y9h8usu6gl/JU9TIMY7shUlhqsOsJqLiTY/iQTo4ANWTWftcFgIXlkeEO/wGVyrK0fWC t16I2Zp3L/FYZQky21ApLqYjsVpSr0ig7TRNHJ4uQ6ZyHPbrY4MezbAVtvt7Un5EV/FW U4zg== X-Gm-Message-State: AG10YORbKXtcdQawfmgUpbclM0E56J4NJXMO7P52DdAQNAkjV6WDiWXdbf8oDzqZ0zyR6g== X-Received: by 10.28.195.212 with SMTP id t203mr13184532wmf.46.1453406164058; Thu, 21 Jan 2016 11:56:04 -0800 (PST) Received: from galloway.idiocy.org (d.0.d.3.7.a.e.3.0.f.2.b.f.2.5.7.9.2.1.8.8.f.3.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:3f8:8129:752f:b2f0:3ea7:3d0d]) by smtp.gmail.com with ESMTPSA id b1sm2887175wjy.0.2016.01.21.11.56.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jan 2016 11:56:03 -0800 (PST) Date: Thu, 21 Jan 2016 19:56:00 +0000 Message-Id: To: control@debbugs.gnu.org From: Alan Third Subject: control message for bug #1948 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.5 (/) tags 1948 confirmed From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 29 20:01:47 2016 Received: (at 1948) by debbugs.gnu.org; 30 Jan 2016 01:01:47 +0000 Received: from localhost ([127.0.0.1]:40881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPJv9-0004ch-7V for submit@debbugs.gnu.org; Fri, 29 Jan 2016 20:01:47 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:36265) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPJv7-0004cP-9W for 1948@debbugs.gnu.org; Fri, 29 Jan 2016 20:01:45 -0500 Received: by mail-wm0-f51.google.com with SMTP id p63so1844896wmp.1 for <1948@debbugs.gnu.org>; Fri, 29 Jan 2016 17:01:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=s9XhVmzp4CY3A+DDRI1ZXAr0eub4ybhwHwmrmqEl8wk=; b=M24XUxTKi1YAfzaY6D4Zofqh3kRvY8cSoa8+Dn7lbDMQJYYIH8Z1hCnFyZu7c5o+Gg JcMEDmSn13858bxIMClgvE2A7w6SgwXpzIUAKwvRSBZu82iW14zRt7HqbhAAs2VlzRXr bTw2+wF3HwEj95SdZh+TYlg0eLReQaeG89nshAU3oXmTSbm0HtNzjOtFuiQT9gMsHbwl RuM/51PmEXtbg473oBqCRNo2Er9vcVzCpLnW3u33YXfrtkyvlfpWG8fLNst4sMeT5daF ArsO1fse/muB24+PwH+lxvMANZmipF3NbY9sfNXoL2DHtWtR85IgqQtkZPeqYS/jIEYK v6ow== 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:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=s9XhVmzp4CY3A+DDRI1ZXAr0eub4ybhwHwmrmqEl8wk=; b=IlyGbxyWbhLdPp8zu9MoF3smtmAtMKWepC/s0BAttNhgxBzXqB03611MKwoVm65+ml y3y8s76kOFQsZKBK13KnbMKqEitziyKkwIcMXC2csOMkNvYG02MkvIDbLSPBkGAukhm1 xxMQ5//vKSeHYP9x61Kmvvc/j1tVpJq4WSLJaAkaiLJt55VuKB8uu6GS4puvQ3VncwU/ Uf62x5GqWap1JHxv17/OJhhJdrAeCQYbmSauRyh3UjDT0ul1luxXdLHG5N6lVHxsMztT Q+uRFBrOg9jVtFfAMcBPhNEzkSHgwJCefFGIFVuOn6b/5UUItA7aIKa2MBFOvDdDF6UR TNDw== X-Gm-Message-State: AG10YOTbQb0/kfyQWyJq6pSRSWlh7OrplQy+ZcVl//JlBmbuNGhVZzDS2jeuyk7EGuu6ew== X-Received: by 10.28.156.198 with SMTP id f189mr257700wme.25.1454115699757; Fri, 29 Jan 2016 17:01:39 -0800 (PST) Received: from galloway.idiocy.org (4.3.6.0.e.6.e.9.d.a.b.c.f.e.1.2.9.2.1.8.8.f.3.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:3f8:8129:21ef:cbad:9e6e:634]) by smtp.gmail.com with ESMTPSA id q129sm273411wmd.14.2016.01.29.17.01.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Jan 2016 17:01:38 -0800 (PST) From: Alan Third To: 1948@debbugs.gnu.org, emacs-devel@gnu.org Subject: Re: bug#1948: confusion and bug in dabbrev.el References: Date: Sat, 30 Jan 2016 01:01:37 +0000 In-Reply-To: (Alan J. Third's message of "Sun, 10 Jan 2016 13:41:38 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 1948 Cc: Peter Tury X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.5 (/) --=-=-= Content-Type: text/plain Peter Tury said: > However, the more serious problem is that it "forgets" such > eliminations when it searches for `old' expansion in case of repeated > calls of `dabbrev-expand' (i.e. when the check "(eq last-command > this-command)" in this function results t) what results in weird text > in some cases. I think I've got a fix for this. The problem is that dabbrev--substitute-expansion alters EXPANSION before using it in the substitution, but dabbrev-expand has no idea that it's done this, so it assumes the unaltered EXPANSION is still valid and saves it. The patch makes dabbrev--substitute-expansion return EXPANSION, and dabbrev-expand saves that version instead. I considered making a new function to remove the whitespace and using it in both dabbrev-expand and dabbrev--substitute-expansion, but returning the value actually used strikes me as safer, in case anything else is done to it. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=0001-Always-save-the-actual-expansion.patch Content-Description: save actual expansion >From 9ef22a911d58f772265bc1fde2608ea135a4dea2 Mon Sep 17 00:00:00 2001 From: Alan Third Date: Sat, 30 Jan 2016 00:38:32 +0000 Subject: [PATCH] Always save the actual expansion lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after any processing. lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of DABBREV--SUBSTITUTE-EXPANSION. --- lisp/dabbrev.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index 3557041..d9f36b1 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -546,8 +546,8 @@ dabbrev-expand (copy-marker dabbrev--last-expansion-location))) ;; Success: stick it in and return. (setq buffer-undo-list (cons orig-point buffer-undo-list)) - (dabbrev--substitute-expansion old abbrev expansion - record-case-pattern) + (setq expansion (dabbrev--substitute-expansion old abbrev expansion + record-case-pattern)) ;; Save state for re-expand. (setq dabbrev--last-expansion expansion) @@ -902,7 +902,9 @@ dabbrev--substitute-expansion ;; and (2) the replacement itself is all lower case. (dabbrev--safe-replace-match expansion (not use-case-replace) - t))) + t)) + ;; Return the expansion actually used. + expansion) ;;;---------------------------------------------------------------- -- 2.5.4 (Apple Git-61) --=-=-= Content-Type: text/plain -- Alan Third --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 30 07:03:49 2016 Received: (at control) by debbugs.gnu.org; 30 Jan 2016 12:03:49 +0000 Received: from localhost ([127.0.0.1]:41042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPUFo-0003iU-Sb for submit@debbugs.gnu.org; Sat, 30 Jan 2016 07:03:48 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:38422) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPUFn-0003iD-BA for control@debbugs.gnu.org; Sat, 30 Jan 2016 07:03:47 -0500 Received: by mail-wm0-f46.google.com with SMTP id p63so12786391wmp.1 for ; Sat, 30 Jan 2016 04:03:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:date:message-id:to:from:subject; bh=g9ha7Nt8ayEEO6F/M3CPyGVeOdG+BGq+udMuWr+x6Ws=; b=JVcGZ1xKihOeOpEz7i+yFxb7TcLCSOU9nfkExuO33Delaz9DAL3nYXnaThMAYT5eRo 9oNNoGu5qO1eczRgQa94Qk8kmgekPhVFLx3MMCJTGfJ6wOFkxbSmX1YS6KXvCYogV+TH INy52WSZU0bfUP8izkO9/fbbbEi4LNKYNgB3cIJo0J+Gxy0zIrggmREjSlL5iFmVNxf7 l4Skw2Rl9pgfBATxM0ku2gdhBcBQo3hKmAhfZrpv0VSipmUGwogURAErssyCfmkDfcuM PL2bT98cj2crkvSM1fRVDyMgor7TBrq9JE8/D4lSUZHVYw6qPMwM5HpgcZO62ScyHPG9 bA9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:message-id:to:from:subject; bh=g9ha7Nt8ayEEO6F/M3CPyGVeOdG+BGq+udMuWr+x6Ws=; b=jZcyIAhhSI5qau2et3p0lhrUGgC3Zt1ruMrbLJ7O5cN/tVhD7la5s34+TBCtkk+NdC zgHQddFC9i9tx4coYFdPvo979g1TpWlChu0yiIzhJJ4jBDpqbb7n9pFJG4JthV+Bia7a AaMB8S4wGnuvjtD9Pq+rd/dw0ZyJIN0pk72qsJ1D+VaqfjEAaEwBqZ8uZg9QKlrxWB78 Phx/O+gpyeQ+Hxf7ktM2V5lq+vHNxZmYvVcrAu7EfUVQUgTc0SXRWe44/poah4naRe6g CW1ZeAteURtexnUdxgTTKmDXEAddiIdH2FWvrhRtNKGj41qqkMzDdtbSq6IRwQx//X5J VGKA== X-Gm-Message-State: AG10YOS+DDAgsbQq1xgfvKX2SswcijhpDITMKIWQ5jx3t/zIfLPQFGaLW8QGIpCctai3Vw== X-Received: by 10.28.150.72 with SMTP id y69mr2269835wmd.17.1454155421838; Sat, 30 Jan 2016 04:03:41 -0800 (PST) Received: from galloway.idiocy.org (4.3.6.0.e.6.e.9.d.a.b.c.f.e.1.2.9.2.1.8.8.f.3.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:3f8:8129:21ef:cbad:9e6e:634]) by smtp.gmail.com with ESMTPSA id 79sm2284227wmo.7.2016.01.30.04.03.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Jan 2016 04:03:41 -0800 (PST) Date: Sat, 30 Jan 2016 12:03:39 +0000 Message-Id: To: control@debbugs.gnu.org From: Alan Third Subject: control message for bug #1948 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.5 (/) tags 1948 patch From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 28 23:19:13 2016 Received: (at 1948) by debbugs.gnu.org; 29 Feb 2016 04:19:13 +0000 Received: from localhost ([127.0.0.1]:51271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaFIe-0007PD-SG for submit@debbugs.gnu.org; Sun, 28 Feb 2016 23:19:13 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:46743) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaFIc-0007P3-N1 for 1948@debbugs.gnu.org; Sun, 28 Feb 2016 23:19:11 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aaFIG-0001aD-3V; Mon, 29 Feb 2016 05:18:48 +0100 From: Lars Ingebrigtsen To: Alan Third Subject: Re: bug#1948: confusion and bug in dabbrev.el References: Date: Mon, 29 Feb 2016 15:18:43 +1100 In-Reply-To: (Alan Third's message of "Sat, 30 Jan 2016 01:01:37 +0000") Message-ID: <87k2loywrg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aaFIG-0001aD-3V X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457324329.07113@tgoM4buDYb8gkirqqE8VjA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 1948 Cc: 1948@debbugs.gnu.org, Peter Tury , emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.0 (/) Alan Third writes: > I think I've got a fix for this. > > The problem is that dabbrev--substitute-expansion alters EXPANSION > before using it in the substitution, but dabbrev-expand has no idea that > it's done this, so it assumes the unaltered EXPANSION is still valid and > saves it. > > The patch makes dabbrev--substitute-expansion return EXPANSION, and > dabbrev-expand saves that version instead. > > I considered making a new function to remove the whitespace and using it > in both dabbrev-expand and dabbrev--substitute-expansion, but returning > the value actually used strikes me as safer, in case anything else is > done to it. If I understand the code correctly, this looks like a good fix to me. Could you resubmit it with the test case you sent earlier as one patch? Also I see that we have a copyright disclaimer on file for your work. Is that sufficient to accept code into Emacs? (I'm asking the other Emacs hackers here...) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 29 22:17:14 2016 Received: (at 1948) by debbugs.gnu.org; 1 Mar 2016 03:17:14 +0000 Received: from localhost ([127.0.0.1]:54502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaaoE-0004FQ-GC for submit@debbugs.gnu.org; Mon, 29 Feb 2016 22:17:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40513) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaaoD-0004FD-5M for 1948@debbugs.gnu.org; Mon, 29 Feb 2016 22:17:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaao6-0001QW-Tk for 1948@debbugs.gnu.org; Mon, 29 Feb 2016 22:17:07 -0500 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaang-0001O3-W1; Mon, 29 Feb 2016 22:16:41 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aaang-0004Kr-6T; Mon, 29 Feb 2016 22:16:40 -0500 From: Glenn Morris To: Lars Ingebrigtsen Subject: Re: bug#1948: confusion and bug in dabbrev.el References: <87k2loywrg.fsf@gnus.org> X-Spook: Earthquake Chemical spill Response Ceridian Prevention X-Ran: =!^lB]q*iqi#J(];9%kNx2+`t=7d(yAfocsK~b|Ky,i%"\Co10l!MV:LT!8](j]$nEXNb5 X-Hue: black X-Attribution: GM Date: Mon, 29 Feb 2016 22:16:40 -0500 In-Reply-To: <87k2loywrg.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 29 Feb 2016 15:18:43 +1100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 1948 Cc: 1948@debbugs.gnu.org, Peter Tury , Alan Third , emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (-----) (Insert standard "why is this on two mailing lists?" blurb here) Lars Ingebrigtsen wrote: > Also I see that we have a copyright disclaimer on file for your work. > Is that sufficient to accept code into Emacs? (I'm asking the other > Emacs hackers here...) A disclaimer is fine, though an assignment is preferred. In this case, I see an assignment in the file. Maybe you are looking at the employer disclaimer? (I usually try grep "First.*Last" rather than just "First Last".) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 29 22:28:18 2016 Received: (at 1948) by debbugs.gnu.org; 1 Mar 2016 03:28:18 +0000 Received: from localhost ([127.0.0.1]:54518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaayw-0004W8-GU for submit@debbugs.gnu.org; Mon, 29 Feb 2016 22:28:18 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:52915) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaayu-0004Vz-GC for 1948@debbugs.gnu.org; Mon, 29 Feb 2016 22:28:17 -0500 Received: from 109.179.133.80.tmi.telenormobil.no ([109.179.133.80] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aaayU-0008Tz-OS; Tue, 01 Mar 2016 04:27:51 +0100 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#1948: confusion and bug in dabbrev.el References: <87k2loywrg.fsf@gnus.org> Date: Tue, 01 Mar 2016 14:27:40 +1100 In-Reply-To: (Glenn Morris's message of "Mon, 29 Feb 2016 22:16:40 -0500") Message-ID: <87r3fuyj0z.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aaayU-0008Tz-OS X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457407671.65173@S2eszN5lMNA4osTLieb+hw X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 1948 Cc: 1948@debbugs.gnu.org, Peter Tury , Alan Third X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.0 (/) Glenn Morris writes: > A disclaimer is fine, though an assignment is preferred. > In this case, I see an assignment in the file. > Maybe you are looking at the employer disclaimer? Ah, yes. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 01 13:19:54 2016 Received: (at 1948) by debbugs.gnu.org; 1 Mar 2016 18:19:54 +0000 Received: from localhost ([127.0.0.1]:56673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaotl-00027D-QL for submit@debbugs.gnu.org; Tue, 01 Mar 2016 13:19:54 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:37731) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaotj-00026z-UN for 1948@debbugs.gnu.org; Tue, 01 Mar 2016 13:19:52 -0500 Received: by mail-wm0-f54.google.com with SMTP id p65so45619627wmp.0 for <1948@debbugs.gnu.org>; Tue, 01 Mar 2016 10:19:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=9oiKN5pV/hwMS0KmaMQ6ud8xQUGk4B3T72+/pP5wNmI=; b=NF1op33qHarwZNUy0hc66uKcg9gn6GvWwMpd/aY//N2tZiQc17jFXysJHFvx/2ZxRQ 735A1WyI8NDiBqhH6wZjjIvk4El8yP9E5Aa+Uq0qmHrCrxDdC65ijOlLO4pgdgdBP6Sk JfLntLQZ6yJ/w1bBz0FJO0737kA99KTYGFM4E1ZiGygOVqUar2ySwM3e45KpYSZHYqcD pXtBPPc3bB4pbbesX3mN1nVs7KHWyP+9yrO7Px3lwDLpKLnDGIM1ndNmawRPyj+mOxfB iV1NJS05y+S3IgvVjEjzeWHFRL27UqPx2QPiMnJv/ZVUSYlPYjZ8cKdKnAO04reeprpv UBBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mime-version:content-disposition:user-agent; bh=9oiKN5pV/hwMS0KmaMQ6ud8xQUGk4B3T72+/pP5wNmI=; b=R1obFinsTYOj4kTImFSpOlDiE+MjaRysXBY5vR/XgO0AgIs2Uhjm/pXX1MCdpqxTdL xMG6je4lMMmkWFezFAxDgBzlKCC7FX0zRIH8BKzFvSOuPZmVOyJP39X/5UKvfLAhp+zk Ik7sqYltYUIsNSYkGtMp6rTynE3Qmdac6x3BaAc96R1lAvM2kj5WHe9biWqzRMktzsmF 1VjMLkTqdloqgF2Pan74ZZ+KhHkhXbcy2tmRbfg+PnQ6nrPiOB7CSqfM/YZjlSQOVeKz ftKGfPpAfE6Tb5faMDFOxsO9S76/NWUds3tgKcZb43BpbOBK06uTkDSIgQrqNBXcORG0 LFzA== X-Gm-Message-State: AD7BkJJTQXJ4QwJcxnH4Ldf4Bo9g2e92XECSI3mL7bAtkaYtxDFL2VWXJqXatwE9CFv5BA== X-Received: by 10.194.103.72 with SMTP id fu8mr23429645wjb.70.1456856386217; Tue, 01 Mar 2016 10:19:46 -0800 (PST) Received: from galloway.idiocy.org (1.f.e.9.d.1.8.7.0.f.6.9.e.b.9.7.9.2.1.8.8.f.3.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:3f8:8129:79be:96f0:781d:9ef1]) by smtp.gmail.com with ESMTPSA id e19sm369889wmd.1.2016.03.01.10.19.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Mar 2016 10:19:45 -0800 (PST) Date: Tue, 1 Mar 2016 18:19:42 +0000 From: Alan Third To: 1948@debbugs.gnu.org Subject: [PATCH] Always save the actual expansion (bug#1948) Message-ID: <20160301181942.GA98050@galloway.idiocy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 1948 Cc: Lars Ingebrigtsen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.5 (/) lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after any processing. lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of DABBREV--SUBSTITUTE-EXPANSION. test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948. --- lisp/dabbrev.el | 8 +++++--- test/automated/dabbrev-tests.el | 42 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 test/automated/dabbrev-tests.el diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index 3557041..d9f36b1 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -546,8 +546,8 @@ dabbrev-expand (copy-marker dabbrev--last-expansion-location))) ;; Success: stick it in and return. (setq buffer-undo-list (cons orig-point buffer-undo-list)) - (dabbrev--substitute-expansion old abbrev expansion - record-case-pattern) + (setq expansion (dabbrev--substitute-expansion old abbrev expansion + record-case-pattern)) ;; Save state for re-expand. (setq dabbrev--last-expansion expansion) @@ -902,7 +902,9 @@ dabbrev--substitute-expansion ;; and (2) the replacement itself is all lower case. (dabbrev--safe-replace-match expansion (not use-case-replace) - t))) + t)) + ;; Return the expansion actually used. + expansion) ;;;---------------------------------------------------------------- diff --git a/test/automated/dabbrev-tests.el b/test/automated/dabbrev-tests.el new file mode 100644 index 0000000..9c7a838 --- /dev/null +++ b/test/automated/dabbrev-tests.el @@ -0,0 +1,42 @@ +;;; dabbrev-tests.el --- Test suite for dabbrev. + +;; Copyright (C) 2016 Free Software Foundation, Inc. + +;; Author: Alan Third +;; Keywords: dabbrev + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs. If not, see . + +;;; Commentary: + +;;; Code: + +(require 'ert) +(require 'dabbrev) + +(ert-deftest dabbrev-expand-test () + "Test for bug#1948. +When DABBREV-ELIMINATE-NEWLINES is non-nil (the default), +repeated calls to DABBREV-EXPAND can result in the source of +first expansion being replaced rather than the destination." + (with-temp-buffer + (insert "ab x\na\nab y") + (goto-char 8) + (save-window-excursion + (set-window-buffer nil (current-buffer)) + ;; M-/ SPC M-/ M-/ + (execute-kbd-macro "\257 \257\257")) + (should (string= (buffer-string) "ab x\nab y\nab y")))) -- Hope I've put the test file in the right place. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 02 12:26:30 2016 Received: (at 1948) by debbugs.gnu.org; 2 Mar 2016 17:26:30 +0000 Received: from localhost ([127.0.0.1]:58030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abAXd-0000n7-SR for submit@debbugs.gnu.org; Wed, 02 Mar 2016 12:26:30 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:53922) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abAXc-0000my-76 for 1948@debbugs.gnu.org; Wed, 02 Mar 2016 12:26:28 -0500 Received: from [31.55.6.3] (helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1abAX7-0007uw-2H; Wed, 02 Mar 2016 18:25:57 +0100 From: Lars Ingebrigtsen To: Alan Third Subject: Re: bug#1948: [PATCH] Always save the actual expansion (bug#1948) References: <20160301181942.GA98050@galloway.idiocy.org> Date: Wed, 02 Mar 2016 17:25:56 +0000 In-Reply-To: <20160301181942.GA98050@galloway.idiocy.org> (Alan Third's message of "Tue, 1 Mar 2016 18:19:42 +0000") Message-ID: <87oaawrduj.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1abAX7-0007uw-2H X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457544357.44196@qDECpIrBx9w0C+5nqeMpsQ X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 1948 Cc: 1948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.0 (/) Alan Third writes: > lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after > any processing. > lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of > DABBREV--SUBSTITUTE-EXPANSION. > test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948. Thanks; applied to emacs-25. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 02 12:26:37 2016 Received: (at control) by debbugs.gnu.org; 2 Mar 2016 17:26:37 +0000 Received: from localhost ([127.0.0.1]:58033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abAXl-0000nT-3y for submit@debbugs.gnu.org; Wed, 02 Mar 2016 12:26:37 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:53929) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abAXj-0000nL-LS for control@debbugs.gnu.org; Wed, 02 Mar 2016 12:26:35 -0500 Received: from [31.55.6.3] (helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1abAXC-0007vX-8D for control@debbugs.gnu.org; Wed, 02 Mar 2016 18:26:02 +0100 Date: Wed, 02 Mar 2016 17:26:01 +0000 Message-Id: <87mvqgrdue.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #1948 X-MailScanner-ID: 1abAXC-0007vX-8D X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457544364.48738@YIU5MLgOSr/MJWWNV3uQ+A X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 0.0 (/) tags 1948 fixed close 1948 25.1 From unknown Mon Aug 18 08:27:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 31 Mar 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator