From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 16:36:21 2016 Received: (at submit) by debbugs.gnu.org; 5 May 2016 20:36:21 +0000 Received: from localhost ([127.0.0.1]:40613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayQ0S-0006sq-WF for submit@debbugs.gnu.org; Thu, 05 May 2016 16:36:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayQ0R-0006sY-SM for submit@debbugs.gnu.org; Thu, 05 May 2016 16:36:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayQ0B-0006CO-3w for submit@debbugs.gnu.org; Thu, 05 May 2016 16:36:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayQ09-00069y-Sx for submit@debbugs.gnu.org; Thu, 05 May 2016 16:36:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayPzw-00011Q-P5 for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 16:35:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayPzh-0005xL-H5 for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 16:35:41 -0400 Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:33594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayPzg-0005pZ-4P for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 16:35:33 -0400 Received: by mail-ob0-x229.google.com with SMTP id x1so42188619obt.0 for ; Thu, 05 May 2016 13:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=V1EuyXdcbGvfUUMhspwrGSte8RNcU1z5YrBHqJp2/pE=; b=XdL8pcF5a3YI/Hg91ijQEYN6B+69+6NP8CIB1F91nDNSwXcfXk0/S0SLoGntsbLfgX EdN1YtBXRv1GoY7f2xu/4Xe0mapkhfTKGZ64mwvp/3bidB0Jyjuy3+sLDWExi1XEQbn/ OTIBXITq6LrGqM8w1G00mmfIAbIz5q1IetkZuhFS1Gp3geJIVSzkZDXyK8J2obqj6sch /o9bbPlddGqnE68JFodySpRFrYCwCdYFvlSYWISsPmWcI/LDYQr249EkpdI7n9puPESW KrKVi+kqUeuALZdgjuMDQ4v+rQMa5AqwwzGGwBFooI5+qWWPYjJ4kbRToY8BPkYloO2n YVTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=V1EuyXdcbGvfUUMhspwrGSte8RNcU1z5YrBHqJp2/pE=; b=GzW0KidoDuYDZ2E1XWu6hIredah5vVSs5oSK1ai7JwkSal9zTmjYj86IOb5V6mACl5 wmLokqiqcC56dLI0ghJa/JHl8fMCposi1j8esZXOj/0sDFzohckewK3edy7oOkpzg1zr v0MDWyUwQdyY6LiAsMRidPxb0RH2C1eopo9VQLGJ4z7rWNTex8VVpierUb63TJsC8mGr Gv/5mPNapK54ieasNgI6RyLa4xZ3CDKkNnT/QAeuBBs5Vmsy6kzDTR4B+YyNBy8R5TWP B8xXvcQ7ekMuGzCZOGLQntZUPYQjvf7vlFx/jFM4DT2OQv1xonkKJPmbcuHUq8hjAXEa 0sQg== X-Gm-Message-State: AOPr4FWJ63naG+NkU+aG/4HSunt7+aKU/2mR1t1icYNvb+YSNbLVUIvSUVfiD65f3GDDrcqCXVKbpdXrWuABOQ== X-Received: by 10.182.45.6 with SMTP id i6mr8053763obm.42.1462480514290; Thu, 05 May 2016 13:35:14 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Thu, 05 May 2016 20:35:04 +0000 Message-ID: Subject: 25.1.50; Strange behavior in local variables like start-comment To: Alan Mackenzie , "bug-gnu-emacs@gnu.org" Content-Type: multipart/alternative; boundary=f46d0444ea0f8b998305321e477c X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) --f46d0444ea0f8b998305321e477c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --text follows this line-- It looks like after the recent commit ( http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D25f455815bfaa868dc4= 70d445413df9a7a546c46 ), the buffer local variables like comment-start are behaving strangely. They commentarily go to a value of nil (or their default value?) and then back to the buffer local value in the current buffer. I discovered this issue as I am using outshine package and in one of the functions in there, a check is put to ensure that comment-start is not nil: https://github.com/tj64/outshine/blob/73ae2c2ea24001338dbeff5137f09bb5f784f= 12c/outshine.el#L1105-L1108 Surprisingly, my *Messages* buffer started showing the "Cannot calculate outcommented outline-regexp without 'comment-start' character defined!" message. But I was working in a shell-script-mode buffer and comment-start IS defined: "# ". I even verified doing C-h v comment-start that that actually was the case. I then realized that I saw that message each time I reverted the buffer (or looked like each time the buffer's major mode hook was called (and that's why I suspect commit 25f4558.. to be the problem; please correct if that's wrong). I do not see this bug in emacs-25 branch build. Here is a minimum working example to test this bug behavior in an emacs -Q session. (progn (defun my/print-comment-start-value () (interactive) (let ((filler (if (null comment-start) "is undefined, it's value is:" "=3D"))) (message (format "`comment-start' %s `%s'" filler comment-start)))) (global-set-key (kbd "") (lambda () (interactive) (revert-buffer nil :noconfirm))) (global-set-key (kbd "") #'my/print-comment-start-value) (add-hook 'change-major-mode-hook #'my/print-comment-start-value)) (1) Evaluate the above in emacs -Q (2) You would be in *scratch* buffer and that's alright (3) Hit F5 couple of times and you should see =E2=80=98comment-start=E2=80=99 is undefined, it=E2=80=99s value is: = =E2=80=98nil=E2=80=99 (4) Now hit F6 (which just prints the value of comment-start variable) and you will see =E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2=80=99 (5) Isn't that strange?! I have tested this only for comment-start. But I suspect this might affect buffer local vars in general? In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2016-05-05 built on ... Repository revision: 67fa7f13d499eb5fc1d697da6c636b20728da22f Windowing system distributor 'The X.Org Foundation', version 11.0.60900000 System Description: Red Hat Enterprise Linux Workstation release 6.6 (Santiago) Configured using: 'configure --with-modules --prefix=3D/home/kmodi/usr_local/apps/6/emacs/master 'CPPFLAGS=3D-fgnu89-inline -I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=3D-O2 -march=3Dnative' 'LDFLAGS=3D-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64' PKG_CONFIG_PATH=3D/home/kmodi/usr_local/6/lib/pkgconfig:/home/kmodi/usr_lo= cal/6/lib64/pkgconfig:/cad/adi/apps/gnu/linux/x86_64/6/lib/pkgconfig:/cad/a= di/apps/gnu/linux/x86_64/6/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pk= gconfig:/usr/share/pkgconfig:/lib/pkgconfig:/lib64/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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 messages: =E2=80=98comment-start=E2=80=99 is undefined, it=E2=80=99s value is: =E2=80= =98nil=E2=80=99 =E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2=80=99 =E2=80=98comment-start=E2=80=99 is undefined, it=E2=80=99s value is: =E2=80= =98nil=E2=80=99 =E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2=80=99 =E2=80=98comment-start=E2=80=99 is undefined, it=E2=80=99s value is: =E2=80= =98nil=E2=80=99 =E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2=80=99 [2 times] =E2=80=98comment-start=E2=80=99 is undefined, it=E2=80=99s value is: =E2=80= =98nil=E2=80=99 =E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2=80=99 [4 times] =E2=80=98comment-start=E2=80=99 is undefined, it=E2=80=99s value is: =E2=80= =98nil=E2=80=99 Mark set [2 times] Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message puny seq byte-opt gv bytecomp byte-compile cl-extra cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils edmacro kmacro dabbrev thingatpt help-fns help-mode cl-loaddefs pcase cl-lib misearch multi-isearch vc-git diff-mode easymenu easy-mmode time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 106397 10580) (symbols 48 21437 0) (miscs 40 69 299) (strings 32 20571 5469) (string-bytes 1 636526) (vectors 16 14269) (vector-slots 8 449017 7199) (floats 8 192 484) (intervals 56 1492 352) (buffers 976 14) (heap 1024 17132 609)) --=20 --=20 Kaushal Modi --f46d0444ea0f8b998305321e477c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
--text follows this l= ine--

It looks like after the recent co= mmit (=C2=A0http://git.savannah.gnu.org/c= git/emacs.git/commit/?id=3D25f455815bfaa868dc470d445413df9a7a546c46=C2= =A0), the buffer local variables like comment-start are behaving strangely.= They commentarily go to a value of nil (or their default value?) and then = back to the buffer local value in the current buffer.

<= div>I discovered this issue as I am using outshine package and in one of th= e functions in there, a check is put to ensure that comment-start is not ni= l:=C2=A0https:= //github.com/tj64/outshine/blob/73ae2c2ea24001338dbeff5137f09bb5f784f12c/ou= tshine.el#L1105-L1108

Surprisingly, my *Messages* buffer started showing the "= Cannot calculate outcommented outline-regexp without 'comment-start' character defined!" message. But I w= as working in a shell-script-mode buffer and comment-start IS defined: &quo= t;# ". I even verified doing C-h v comment-start that that actually wa= s the case.=C2=A0

I then realized that I saw th= at message each time I reverted the buffer (or looked like each time the bu= ffer's major mode hook was called (and that's why I suspect commit = 25f4558.. to be the problem; please correct if that's wrong). I do not = see this bug in emacs-25 branch build.

Here= is a minimum working example to test this bug behavior in an emacs -Q sess= ion.

(progn
=C2=A0 (defun my/print-co= mment-start-value ()
=C2=A0 =C2=A0 (interactive)
=C2=A0= =C2=A0 (let ((filler (if (null comment-start)
=C2=A0=C2=A0 =C2=A0 =C2=A0"is undefined, = it's value is:"
= =C2=A0=C2=A0 =C2=A0"=3D")))
=C2=A0 =C2=A0 =C2=A0 = (message (format "`comment-start' %s `%s'" filler comment= -start))))
=C2=A0=C2=A0
=C2=A0 =C2=A0 (global-set-key (kb= d "<f5>") (lambda () (interactive) (revert-buffer nil :noco= nfirm)))
=C2=A0 =C2=A0 (global-set-key (kbd "<f6>"= ) #'my/print-comment-start-value)

=C2=A0 =C2=A0 = (add-hook 'change-major-mode-hook #'my/print-comment-start-value))<= /div>

(1) Evaluate the above in emacs -Q
(2) You would be in *scratch* buffer and that's alright
(3) = Hit F5 couple of times and you should see
=C2=A0 =C2=A0 =C2=A0=E2=80=98comment-start=E2=80=99 is undefined, it=E2=80=99= s value is: =E2=80=98nil=E2=80=99
(4)= Now hit F6 (which just prints the value of comment-start variable) and you= will see
=C2=A0 =C2=A0 =E2=80=98comm= ent-start=E2=80=99 =3D =E2=80=98;=E2=80=99
(5) Isn'= ;t that strange?!

I have tested this only for comm= ent-start. But I suspect this might affect buffer local vars in general?

In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GT= K+ Version 2.24.23)
=C2=A0of 2016-05-05 built on ...
Re= pository revision: 67fa7f13d499eb5fc1d697da6c636b20728da22f
Windo= wing system distributor 'The X.Org Foundation', version 11.0.609000= 00
System Description: Red Hat Enterprise Linux Workstation release 6.6 (San= tiago)

Configured using:
=C2=A0'conf= igure --with-modules
=C2=A0--prefix=3D/home/kmodi/usr_local/apps/= 6/emacs/master
=C2=A0'CPPFLAGS=3D-fgnu89-inline -I/home/kmodi= /usr_local/6/include
=C2=A0-I/usr/include/freetype2 -I/usr/includ= e' 'CFLAGS=3D-O2 -march=3Dnative'
=C2=A0'LDFLAGS= =3D-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64'
=
=C2=A0PKG_CONFIG_PATH=3D/home/kmodi/usr_local/6/lib/pkgconfig:/home/km= odi/usr_local/6/lib64/pkgconfig:/cad/adi/apps/gnu/linux/x86_64/6/lib/pkgcon= fig:/cad/adi/apps/gnu/linux/x86_64/6/lib64/pkgconfig:/usr/lib/pkgconfig:/us= r/lib64/pkgconfig:/usr/share/pkgconfig:/lib/pkgconfig:/lib64/pkgconfig'=

Configured features:
XPM JPEG TIFF GIF = PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL LI= BSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB
TOOLKIT_SCROLL_B= ARS GTK2 X11 MODULES

Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: = @im=3Dnone
=C2=A0 locale-coding-system: utf-8-unix

=
Major mode: Emacs-Lisp

Minor modes in e= ffect:
=C2=A0 diff-auto-refine-mode: t
=C2=A0 tooltip-m= ode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-inde= nt-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-m= ode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-= mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-loc= k-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-compo= sition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 au= to-compression-mode: t
=C2=A0 line-number-mode: t
=C2= =A0 transient-mark-mode: t

Recent messages:
<= div>=E2=80=98comment-start=E2=80=99 is undefined, it=E2=80=99s value is: = =E2=80=98nil=E2=80=99
=E2=80=98comment-start=E2=80=99 =3D =E2=80= =98;=E2=80=99
=E2=80=98comment-start=E2=80=99 is undefined, it=E2= =80=99s value is: =E2=80=98nil=E2=80=99
=E2=80=98comment-start=E2= =80=99 =3D =E2=80=98;=E2=80=99
=E2=80=98comment-start=E2=80=99 is= undefined, it=E2=80=99s value is: =E2=80=98nil=E2=80=99
=E2=80= =98comment-start=E2=80=99 =3D =E2=80=98;=E2=80=99 [2 times]
=E2= =80=98comment-start=E2=80=99 is undefined, it=E2=80=99s value is: =E2=80=98= nil=E2=80=99
=E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2=80= =99 [4 times]
=E2=80=98comment-start=E2=80=99 is undefined, it=E2= =80=99s value is: =E2=80=98nil=E2=80=99
Mark set [2 times]
<= div>
Load-path shadows:
None found.

<= /div>
Features:
(shadow sort mail-extr emacsbug message puny = seq byte-opt gv bytecomp
byte-compile cl-extra cconv dired dired-= loaddefs format-spec rfc822 mml
mml-sec password-cache epa derive= d epg epg-config gnus-util rmail
rmail-loaddefs mm-decode mm-bodi= es mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader s= endmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils = edmacro kmacro dabbrev thingatpt help-fns
help-mode cl-loaddefs p= case cl-lib misearch multi-isearch vc-git
diff-mode easymenu easy= -mmode time-date mule-util tooltip eldoc electric
uniquify ediff-= hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common= -win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated= -list newcomment elisp-mode lisp-mode prog-mode register page
men= u-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian<= /div>
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean<= /div>
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech euro= pean
ethiopic indian cyrillic chinese charscript case-table epa-h= ook
jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloa= ded nadvice
loaddefs button faces cus-face macroexp files text-pr= operties overlay
sha1 md5 base64 format env code-pages mule custo= m widget
hashtable-print-readable backquote dbusbind inotify dyna= mic-setting
system-font-setting font-render-setting move-toolbar = gtk x-toolkit x
multi-tty make-network-process emacs)
<= br>
Memory information:
((conses 16 106397 10580)
=
=C2=A0(symbols 48 21437 0)
=C2=A0(miscs 40 69 299)
=C2=A0(strings 32 20571 5469)
=C2=A0(string-bytes 1 636526)
=C2=A0(vectors 16 14269)
=C2=A0(vector-slots 8 449017 7199)=
=C2=A0(floats 8 192 484)
=C2=A0(intervals 56 1492 352)=
=C2=A0(buffers 976 14)
=C2=A0(heap 1024 17132 609))
=C2=A0=C2=A0



--

--
Kaushal Modi

--f46d0444ea0f8b998305321e477c-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 17:41:09 2016 Received: (at 23460) by debbugs.gnu.org; 5 May 2016 21:41:09 +0000 Received: from localhost ([127.0.0.1]:40843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayR1A-0001js-T4 for submit@debbugs.gnu.org; Thu, 05 May 2016 17:41:09 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:32801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayR19-0001jV-Fw for 23460@debbugs.gnu.org; Thu, 05 May 2016 17:41:07 -0400 Received: by mail-oi0-f52.google.com with SMTP id v145so118224207oie.0 for <23460@debbugs.gnu.org>; Thu, 05 May 2016 14:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=xcvX1CPkjDOcWc97qW9Zb5wIPEjBX/EmxlgYWfLKnbw=; b=0LBHxdzT+dO4nwxVn4q6sz+wUqKYH+D7AMgRdHATGkhzNEVEdIcCNXNDOa738oTXdX tgtEA6t7GqQg9wB73ugIegsFkGfgr81hEZwgoRQyjwcl67U3WfL+b7273CvxZoYsa/Tp XCfKLWRkYTV9a6dvSi9aJfgMdzUYd4Wn9zm2oiArDgdPBrd7UoPSs8TMAGUdyjA8TIWm T6hT6NuTwR8M6YSw/4npeY9KVLaqsTSZLDN55AbNPmf57S81Nw339krqnTwL28t5KGZg 3E91NIuSvHBpZaulH1GfWSZLFFa4al/5UMEJbd+Vim8/1D6znjaKWRtmqoVqWR/HrlbG +x9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xcvX1CPkjDOcWc97qW9Zb5wIPEjBX/EmxlgYWfLKnbw=; b=WqUJxPgYfyFD61XjYOQCnJihkpCdoEP49XMuIg6fRRKa9QLR9OeFtqLn2q+Pdo5xOH 6DfUM8PeII9gjPKInSTb8WWDJzo5z+q0yeVpHSunG9/3sZDMZ4aIlbrMj4BkOicKspcS HCAglQ3asYxRoKgyGalHYXF0tf1Xu/I50B2WIJKkkZmp7LeecpIG7pq4/h5uSNwZEEvr ysoK0LPePbx3hHaCfm+QUuDJj5c7ECSntY6kJCQJirLamNPcZlZw3HHKJOJbPULsi7Df OwM3/FG3SPSPB9WrOPRlS5pKShUcAi3ZrEIIWppSzOLCV8WbYegC2G0Y1UniHPwUUC23 tZGA== X-Gm-Message-State: AOPr4FXrMqSMf+wF2WtXMHRb3ZOCRth9CH9CZVAoT3cc3gu9Vw8B1yL/L5ez65wa3kSsxr/pTQgpNWSqPZaROA== X-Received: by 10.202.60.194 with SMTP id j185mr7298552oia.197.1462484461838; Thu, 05 May 2016 14:41:01 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Thu, 05 May 2016 21:40:52 +0000 Message-ID: Subject: 25.1.50; Strange behavior in local variables like start-comment To: 23460@debbugs.gnu.org, Alan Mackenzie Content-Type: multipart/alternative; boundary=001a113ce01cd66a4505321f3215 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23460 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.7 (/) --001a113ce01cd66a4505321f3215 Content-Type: text/plain; charset=UTF-8 I can definitely see that something about local vars is broken. But please ignore that earlier min working example for time being. It breaks on emacs-25 build too. All I know for sure is that the comment-start being undefined error never showed up on emacs-25 builds, and it showed up for the first time on the latest master build as of today. So I will try to derive a min working example by studying the outshine.el code. But in the mean time, if you can quickly review why comment-start could be in undefined state momentarily, that would be great! I'll keep you posted. Thanks. -- -- Kaushal Modi --001a113ce01cd66a4505321f3215 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I can definitely see that something about local vars is br= oken. But please ignore that earlier min working example for time being. It= breaks on emacs-25 build too.

All I know for sure is th= at the comment-start being undefined error never showed up on emacs-25 buil= ds, and it showed up for the first time on the latest master build as of to= day.

So I will try to derive a min working example= by studying the outshine.el code. But in the mean time, if you can quickly= review why comment-start could be in undefined state momentarily, that wou= ld be great!

I'll keep you posted.
<= br>
Thanks.
--

--
Kaushal Modi

--001a113ce01cd66a4505321f3215-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 17:46:44 2016 Received: (at control) by debbugs.gnu.org; 5 May 2016 21:46:44 +0000 Received: from localhost ([127.0.0.1]:40853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayR6a-0001sh-Gf for submit@debbugs.gnu.org; Thu, 05 May 2016 17:46:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayR6Y-0001sT-NA for control@debbugs.gnu.org; Thu, 05 May 2016 17:46:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayR6K-0003lB-AS for control@debbugs.gnu.org; Thu, 05 May 2016 17:46:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.0 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]:53391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayR6K-0003jc-7d for control@debbugs.gnu.org; Thu, 05 May 2016 17:46:28 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ayR6F-0003PS-JU for control@debbugs.gnu.org; Thu, 05 May 2016 17:46:23 -0400 Subject: control message for bug 21966 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 05 May 2016 17:46:23 -0400 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: -7.1 (-------) 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: -7.1 (-------) block 21966 by 23460 From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 18:20:45 2016 Received: (at 23460) by debbugs.gnu.org; 5 May 2016 22:20:45 +0000 Received: from localhost ([127.0.0.1]:40877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayRdV-00060g-1a for submit@debbugs.gnu.org; Thu, 05 May 2016 18:20:45 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:33027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayRdT-00060N-5T for 23460@debbugs.gnu.org; Thu, 05 May 2016 18:20:43 -0400 Received: by mail-oi0-f53.google.com with SMTP id v145so119220733oie.0 for <23460@debbugs.gnu.org>; Thu, 05 May 2016 15:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=p9Z7Gddxe6gLrAAdKAlkbgmF9zcXAE78NkBNf2heouc=; b=yJSYDGsI/vajmsmoyREvlXTVFvSl08q/HGov75Wa0PHyN5ZrT0PDhYJAk/WN6iAPQo h4lbKYZVuSJ6H1PrJY6rvyQz3VPN3Va/UBotH0/FycBtWqUjzYB5sgi6QiY2SWTmiK/z BQck2b1tkAsTPHbHHhKaTiEvKuVdvD84PS2CwvgZ54RLOtDWfWz1IkWLyFaQUqZLPHX6 5/gUJiP0wQDDVwK7W9M5puYoJ0lPyGS9iF+v6UtotTLy4Gj39QVnn3Tqj8G0eXKmupOJ RtFGb2qlllGujk91JgM1EYOIyKf7zjJ3qGqDqNeaC/ov1NrUg/cwZWCiDVtA8TQTQfFI 9Fyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=p9Z7Gddxe6gLrAAdKAlkbgmF9zcXAE78NkBNf2heouc=; b=R2vbKypD7BEl6bKO2wN6MzLYLY8wJEXL58oZDU1cQnFpwLm5yYSogoSn69VBRidXuU Ax/k6NyHZYakEz2+DpcNEirt3tuD4aVS8vU7wLMbffmgv3rprYxbUQS/jvH30ZOdgGOK fUKYAYdNcjUrfso7Bop1ZCtIdzlKH23Ol5IxO/MrzgA5RKN5N/ztMzyb65SoB8p32xV7 Tv+DG53fTuBNzUmgyvEes8vix1CYVtJ1DDbRTE5bAzO4zAioulyQKGLle869nwI4+LY5 AkBUDyv/OFdhufNlQHW3hsYIyebAit2MXTwqr6yBdnfFA42Nmxgo1zkXXC+j6ORATSL4 9yVg== X-Gm-Message-State: AOPr4FXO2rBEzyu39kYxORhazPxAouuLZpEG4P+92CRhqDcdI5jlDtGboQH7kfiG0CseprvS3E96FFeSOfL2Lg== X-Received: by 10.202.179.8 with SMTP id c8mr8285056oif.50.1462486837633; Thu, 05 May 2016 15:20:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kaushal Modi Date: Thu, 05 May 2016 22:20:27 +0000 Message-ID: Subject: Re: 25.1.50; Strange behavior in local variables like start-comment To: 23460@debbugs.gnu.org, Alan Mackenzie Content-Type: multipart/alternative; boundary=001a113ce3c67228ee05321fc0ae X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23460 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.7 (/) --001a113ce3c67228ee05321fc0ae Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > > I'll keep you posted. > > OK, I was able to get a minimum working example sooner than I thought :) Please save the below as test.el (or some file name; else revert-buffer will not work), open it in emacs -Q and evaluate it. =3D=3D=3D=3D=3D test.el =3D=3D=3D=3D=3D (progn (defun my/print-comment-start-value () (interactive) (message (format "`comment-start' =3D `%s'" comment-start))) (defun my/repeat-revert-buffer-noconfirm (count) (interactive "p") (dotimes (i count) (revert-buffer nil :noconfirm))) (add-hook 'outline-minor-mode-hook #'my/print-comment-start-value) ; (remove-hook 'outline-minor-mode-hook #'my/print-comment-start-value) (global-set-key (kbd "") #'my/repeat-revert-buffer-noconfirm)) ;; Local Variables: ;; eval: (outline-minor-mode 1) ;; End: =3D=3D=3D=3D=3D In emacs 25.0.93 (emacs-25 build), after opening test.el, evaluating it and hitting F5, I get below (which is good, expected): =E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2=80=99 [2 times] But in emacs 25.1.50 (master build), after opening test.el, evaluating it and hitting F5, I get: =E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2=80=99 =E2=80=98comment-start=E2=80=99 =3D =E2=80=98nil=E2=80=99 [2 times] =E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2=80=99 So it looks like the outline-minor-mode-hook is called twice more in the master branch and also intermittently, the comment-start loses its buffer local value. Hope this mini test helps debug this. > -- --=20 Kaushal Modi --001a113ce3c67228ee05321fc0ae Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=

I'll keep you posted.

OK, I was able to get a mini= mum working example sooner than I thought :)

Pleas= e save the below as test.el (or some file name; else revert-buffer will not= work), open it in emacs -Q and evaluate it.

=3D= =3D=3D=3D=3D test.el =3D=3D=3D=3D=3D
(progn
=C2=A0= (defun my/print-comment-start-value ()
=C2=A0 =C2=A0 (interactiv= e)
=C2=A0 =C2=A0 (message (format "`comment-start' =3D `= %s'" comment-start)))

=C2=A0 (defun my/re= peat-revert-buffer-noconfirm (count)
=C2=A0 =C2=A0 (interactive &= quot;p")
=C2=A0 =C2=A0 (dotimes (i count)
=C2=A0 = =C2=A0 =C2=A0 (revert-buffer nil :noconfirm)))
=C2=A0=C2=A0
=
=C2=A0 (add-hook 'outline-minor-mode-hook #'my/print-comment-s= tart-value)
; =C2=A0(remove-hook 'outline-minor-mode-hook #&#= 39;my/print-comment-start-value)
=C2=A0=C2=A0
=C2=A0 (g= lobal-set-key (kbd "<f5>") #'my/repeat-revert-buffer-no= confirm))

;; Local Variables:
;; eval: (= outline-minor-mode 1)
;; End:
=3D=3D=3D=3D=3D

In emacs 25.0.93 (emacs-25 build), after opening test= .el, evaluating it and hitting F5, I get below (which is good, expected):

=E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2= =80=99 [2 times]

But in emacs 25.1.50 (master = build), after opening test.el, evaluating it and=C2=A0hitting=C2=A0F5,=C2=A0I get:

=E2=80=98comment-start=E2=80=99 =3D= =E2=80=98;=E2=80=99
=E2=80=98comment-start=E2=80=99 =3D =E2=80= =98nil=E2=80=99 [2 times]
=E2=80=98comment-start=E2=80=99 =3D =E2= =80=98;=E2=80=99

So it looks like the outline-minor-mode-ho= ok is called twice more in the master branch and also intermittently, the c= omment-start loses its buffer local value.

Hope this mini test hel= ps debug this.
--

-- Kaushal Modi

--001a113ce3c67228ee05321fc0ae-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 18:22:15 2016 Received: (at 23460) by debbugs.gnu.org; 5 May 2016 22:22:15 +0000 Received: from localhost ([127.0.0.1]:40882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayRex-00063k-D5 for submit@debbugs.gnu.org; Thu, 05 May 2016 18:22:15 -0400 Received: from mail.muc.de ([193.149.48.3]:51683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayRev-00063Y-22 for 23460@debbugs.gnu.org; Thu, 05 May 2016 18:22:13 -0400 Received: (qmail 67298 invoked by uid 3782); 5 May 2016 22:22:12 -0000 Received: from acm.muc.de (p548C62E6.dip0.t-ipconnect.de [84.140.98.230]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 06 May 2016 00:22:11 +0200 Received: (qmail 27688 invoked by uid 1000); 5 May 2016 22:22:11 -0000 Date: Thu, 5 May 2016 22:22:11 +0000 To: Kaushal Modi Subject: Re: 25.1.50; Strange behavior in local variables like start-comment Message-ID: <20160505222211.GE1950@acm.fritz.box> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23460 Cc: 23460@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: -2.1 (--) Hello, Kaushal. On Thu, May 05, 2016 at 08:35:04PM +0000, Kaushal Modi wrote: > It looks like after the recent commit ( > http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=25f455815bfaa868dc470d445413df9a7a546c46 > ), > the buffer local variables like comment-start are behaving strangely. They > commentarily go to a value of nil (or their default value?) and then back > to the buffer local value in the current buffer. Yes. I think this is intended, and wasn't changed by my recent patch. > I discovered this issue as I am using outshine package and in one of the > functions in there, a check is put to ensure that comment-start is not nil: > https://github.com/tj64/outshine/blob/73ae2c2ea24001338dbeff5137f09bb5f784f12c/outshine.el#L1105-L1108 I haven't actually looked at that yet. But where, with respect to setting the major mode, does the outshine function look at comment-start? > Surprisingly, my *Messages* buffer started showing the "Cannot calculate > outcommented outline-regexp without 'comment-start' character defined!" > message. But I was working in a shell-script-mode buffer and comment-start > IS defined: "# ". I even verified doing C-h v comment-start that that > actually was the case. Were you doing anything involving changing the major mode at the time? (See below.) > I then realized that I saw that message each time I reverted the buffer (or > looked like each time the buffer's major mode hook was called (and that's > why I suspect commit 25f4558.. to be the problem; please correct if that's > wrong). I do not see this bug in emacs-25 branch build. > Here is a minimum working example to test this bug behavior in an emacs -Q > session. Thanks for taking the trouble to create this minimal test code. It makes it so much easier to understand when people do this. :-) > (progn > (defun my/print-comment-start-value () > (interactive) > (let ((filler (if (null comment-start) > "is undefined, it's value is:" > "="))) > (message (format "`comment-start' %s `%s'" filler comment-start)))) > (global-set-key (kbd "") (lambda () (interactive) (revert-buffer > nil :noconfirm))) > (global-set-key (kbd "") #'my/print-comment-start-value) > (add-hook 'change-major-mode-hook #'my/print-comment-start-value)) > (1) Evaluate the above in emacs -Q > (2) You would be in *scratch* buffer and that's alright > (3) Hit F5 couple of times and you should see > ‘comment-start’ is undefined, it’s value is: ‘nil’ > (4) Now hit F6 (which just prints the value of comment-start variable) and > you will see > ‘comment-start’ = ‘;’ > (5) Isn't that strange?! OK. Have a look at the *Messages* buffer. You will see the messages come in pairs: (I actually did this in a C Mode buffer.) `comment-start' = `/* ' `comment-start' is undefined, it's value is: `nil' But in the echo area, you will only see the second one. > I have tested this only for comment-start. But I suspect this might affect > buffer local vars in general? I think so, too. When you visit a buffer, Emacs calls `normal-mode' to determine and set the major mode. The first thing `normal-mode' does is to call `fundamental-mode'. This invokes `change-major-mode-hook', which outputs the first "comment-start" message. Then `fundamental-mode' kills all local variables, including `comment-start'. `normal-mode' then determines the correct major mode, and calls it. This invokes `change-major-mode-hook' again, which outputs the second "comment-start" message with the `nil'. The major mode is then fully set up, including giving a value to `comment-start'. So, this code seems to be working the way it's intended to. What is outshine doing that triggers a problem in this area? Is it doing things with the `change-major-mode-hook' that involve using `comment-start'? Maybe this is the problem. > In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) > of 2016-05-05 built on ... > Repository revision: 67fa7f13d499eb5fc1d697da6c636b20728da22f > Windowing system distributor 'The X.Org Foundation', version 11.0.60900000 > System Description: Red Hat Enterprise Linux Workstation release 6.6 > (Santiago) [ .... ] > Recent messages: > ‘comment-start’ is undefined, it’s value is: ‘nil’ > ‘comment-start’ = ‘;’ > ‘comment-start’ is undefined, it’s value is: ‘nil’ > ‘comment-start’ = ‘;’ > ‘comment-start’ is undefined, it’s value is: ‘nil’ > ‘comment-start’ = ‘;’ [2 times] > ‘comment-start’ is undefined, it’s value is: ‘nil’ > ‘comment-start’ = ‘;’ [4 times] > ‘comment-start’ is undefined, it’s value is: ‘nil’ > Mark set [2 times] > -- > Kaushal Modi -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 18:29:17 2016 Received: (at 23460) by debbugs.gnu.org; 5 May 2016 22:29:17 +0000 Received: from localhost ([127.0.0.1]:40888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayRll-0006Dn-9w for submit@debbugs.gnu.org; Thu, 05 May 2016 18:29:17 -0400 Received: from mout.web.de ([212.227.17.12]:52941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayRlj-0006Db-PB for 23460@debbugs.gnu.org; Thu, 05 May 2016 18:29:16 -0400 Received: from drachen.dragon ([90.186.3.238]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0LgYSP-1bTzHd1ZoL-00nyFw; Fri, 06 May 2016 00:29:08 +0200 From: Michael Heerdegen To: Kaushal Modi Subject: Re: bug#23460: 25.1.50; Strange behavior in local variables like start-comment References: Date: Fri, 06 May 2016 00:29:04 +0200 In-Reply-To: (Kaushal Modi's message of "Thu, 05 May 2016 20:35:04 +0000") Message-ID: <874maci1fz.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:yjlDbWoUjlJig8A6ZGbbVsF68b2H+3y0Yszroh5flvWZPH/XXM8 AwY8dcxXNarrlau9GNN4FOqG/09oGr5rE9AKxHepN3SfwEImxNoW5VNN6JCucSCZTC2lI5I NiZ5iuKZCh7EN9gDNRo0WQpXphDKYl+bDpnwRNVIZeFl4N3PMbdoz49yl26geVd7gwv3fcm HfTKKaU+quOquCl8aQI3Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:88fvAGCGXgo=:GNryaF6OFqJJGGRaXjblRv WFeg6KUD7eRVG+CmdOw81ykLIX5C5ZdDlzCHnDAP51LltSy/cIpIV8cpyCo5j8aY6lRLl80K2 azxUoZIF9egX2gIOd5zChJmWS9GeM6BTuBM3378fS/tgXsn4YAWnIMy0A4EKYzhFHRauHkiuw GhWLc7xx3u/IKYKPb+D/0iDNV6GDogKwf54WcFvvN4ERfYMZ9tEZ9gAM6PHX2FdVyfh6xgGMp gnhXBtLDrmU4fF7YSAztW/vSiK3JI2OqqbO/owTRjOKUuE5tXtl2fZ4vd4SieShpxIJFJkN9f VgnEmYvpkHNV5nyZ/AS8cpb6X11fUDvtji/hcO/A865eUEFuQON/Q5nyRpgcXewLhcbI1RCcg 2phMujEt59YrFs9Umagw94RKuBcXJ8AJn2csrxF/Gdo42n5w8k2KPQL4WQApIwm/uTGbT3bdn gKn+mfbrlGbhQUlTHO4Vd4GCJcExf5eGb9EDBk3Dv2pCR8hM1XFbkjIdxvOHc7TJNR5vne+P9 Bqgf1h7/qfTlz1JTVz7UJ/1MAiXsxi2natsyWE275nQZM3p3TkAQU85Whm1/Gt+av4denu88Q tXuV5rJ+98l0dx/PFu/TmmjzTbjaaGxxRCPFcKWl37jqrESDpv6pvqgrbNO0TMyrr3u3zl6dB 5fEQQVdF2zaPPszXkjM6fXHUFOgFEG2Mz9FLhGccAS+JmdVo+ZfqsCuSPdSeCyyBAOJZgg1Qb +vGpampBDytzYbHPFPTv1+CKtuoWgsUUd8TBHq58x2hCvivAMjoufMJbENNKPHCG279+KmKmo xXTcS0S X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 23460 Cc: acm@muc.de, 23460@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: -2.8 (--) Kaushal Modi writes: > (1) Evaluate the above in emacs -Q > (2) You would be in *scratch* buffer and that's alright > (3) Hit F5 couple of times and you should see > =E2=80=98comment-start=E2=80=99 is undefined, it=E2=80=99s value is: =E2= =80=98nil=E2=80=99 > (4) Now hit F6 (which just prints the value of comment-start variable) an= d you will see > =E2=80=98comment-start=E2=80=99 =3D =E2=80=98;=E2=80=99 > (5) Isn't that strange?! Strange, but, unless I misunderstood what your described, expected: Reverting is a typical case where all local variable definitions are cleared (intentionally): Unless arg PRESERVE-MODES is non-nil, this calls `after-find-file' which calls `normal-mode' that (re)sets the major mode of the buffer. Changing the major mode typically always kills all buffer local bindings. So to say, it's a feature: `revert-buffer' also reverts local variable bindings. Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 18:35:40 2016 Received: (at 23460) by debbugs.gnu.org; 5 May 2016 22:35:40 +0000 Received: from localhost ([127.0.0.1]:40892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayRrv-0006Nu-Uf for submit@debbugs.gnu.org; Thu, 05 May 2016 18:35:40 -0400 Received: from mail-oi0-f44.google.com ([209.85.218.44]:34821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayRrv-0006Nj-4j for 23460@debbugs.gnu.org; Thu, 05 May 2016 18:35:39 -0400 Received: by mail-oi0-f44.google.com with SMTP id x19so119781720oix.2 for <23460@debbugs.gnu.org>; Thu, 05 May 2016 15:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8Gr4IBQVfJ5OcycEdpx8sfuGmCElRgxhQrDNAZyY0v0=; b=Oa0tOXm3vjtAXZp6HqQNfVKKKMglyphAO9sIcS+vgpPC2l28YHn/gwSMqeNxPYCSPf lf/k9045YiFZUB7tGIXHBH+VXPGhQhL5qHPUdKtHCW6/zgOUXHc2vElgLa5aiur7yD3t tWIaJSj9EzV7GAhFobG3IPLm1zhV1bh2oT1z4ntGmaJPmioVCTkv6p6P7EZzL8ZmEuY8 NdlVHRAr6qA9o3TLMXX0lhd+xakhmoDSgH2YWxTUEbUkH3FbWwJlhA5HgmvQoLbcMxcT EXN64fdlaY+tBKsln952GMtg8iUPczadRyzpBdRdzX7fn4yO/YsP0VQwK6f+I5ZVAg2d OnuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8Gr4IBQVfJ5OcycEdpx8sfuGmCElRgxhQrDNAZyY0v0=; b=e8SEFfZXfR0LD217Ut67zJPmKi7hB6QGaZZthgVYamnwxh3XH9AmYGXcsVRkHXhMHa Ed98kKDda5CyqnfuKmS61HLE82tQkpxOgB8z0llrRFjJwndzushCg65Lk2vnSEqsegwx ZaEpNd2SLGwF5cjV4zUvXQstkUM0EQECcdhqzhQW89TmNTdG4/kHHPZxYsGdG9XeSuwI rOzdg3ewaBXuB+hCX3VN4dmfi3h6uZDXTR2Lj9DpuMbwAP9qLgEFQT86UjQpE2SQqHtA 6IBDdHEH6VzylulcnRAs76GXjz0teXqYdJFlqAtStHzGHx3S86r4ZyBpea1jKmOUug6G anOA== X-Gm-Message-State: AOPr4FWFlzM3HiZt+/dOZnfjUV6mxHGbWViMrdQf0sFdUzDxH6Ilu32c4olCbBOJKEC3a5CBE3uKr1fTr1befw== X-Received: by 10.157.7.225 with SMTP id 88mr8110710oto.185.1462487733486; Thu, 05 May 2016 15:35:33 -0700 (PDT) MIME-Version: 1.0 References: <20160505222211.GE1950@acm.fritz.box> In-Reply-To: <20160505222211.GE1950@acm.fritz.box> From: Kaushal Modi Date: Thu, 05 May 2016 22:35:23 +0000 Message-ID: Subject: Re: 25.1.50; Strange behavior in local variables like start-comment To: Alan Mackenzie Content-Type: multipart/alternative; boundary=94eb2c04f99ed7cb4b05321ff52f X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23460 Cc: 23460@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.7 (/) --94eb2c04f99ed7cb4b05321ff52f Content-Type: text/plain; charset=UTF-8 > > I haven't actually looked at that yet. But where, with respect to > setting the major mode, does the outshine function look at > comment-start? > Yes > Were you doing anything involving changing the major mode at the time? > (See below.) > Apologies for that misleading first version of the MWE; the issue I am seeing has nothing to do with changing major mode (I think). Thanks for taking the trouble to create this minimal test code. It > makes it so much easier to understand when people do this. :-) > No worries. But unintentional I caused more trouble for you by posting an incorrect version of MWE (the 1st version). The second version I posted few minutes back is thoroughly tested in both emacs-25 and master and has no outshine.el dependency i.e. you can focus only on that 2nd version of MWE. OK. Have a look at the *Messages* buffer. You will see the messages > come in pairs: (I actually did this in a C Mode buffer.) > > `comment-start' = `/* ' > `comment-start' is undefined, it's value is: `nil' > > But in the echo area, you will only see the second one. > > > I have tested this only for comment-start. But I suspect this might > affect > > buffer local vars in general? > > I think so, too. When you visit a buffer, Emacs calls `normal-mode' to > determine and set the major mode. The first thing `normal-mode' does is > to call `fundamental-mode'. This invokes `change-major-mode-hook', > which outputs the first "comment-start" message. Then > `fundamental-mode' kills all local variables, including `comment-start'. > > `normal-mode' then determines the correct major mode, and calls it. > This invokes `change-major-mode-hook' again, which outputs the second > "comment-start" message with the `nil'. The major mode is then fully > set up, including giving a value to `comment-start'. > > So, this code seems to be working the way it's intended to. Thank you for that detailed explanation. I was not aware of the major mode changes that were happening behind the scenes. > What is > outshine doing that triggers a problem in this area? The outshine-mode-function function is actually added to outline-minor-mode-hook. I have updated MWE version 2 with that in mind. Is it doing things > with the `change-major-mode-hook' that involve using `comment-start'? > Maybe this is the problem. > No, it does not use change-major-mode-hook. But it does depend on the buffer local value of comment-start. In summary, the 2nd version of my MWE should help you consistently show the behavior difference between emacs-25 and master. -- -- Kaushal Modi --94eb2c04f99ed7cb4b05321ff52f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
= I haven't actually looked at that yet.=C2=A0 But where, with respect to=
setting the major mode, does the outshine function look at
comment-start?

Yes
=C2=A0
Were you doing anything involving changing the major mode at the time?
(See below.)

Apologies for that mislead= ing first version of the MWE; the issue I am seeing has nothing to do with = changing major mode (I think).=C2=A0

Thanks for taking the trouble to create this minimal test cod= e.=C2=A0 It
makes it so much easier to understand when people do this.=C2=A0 :-)

No worries. But unintentional I caused more t= rouble for you by posting an incorrect version of MWE (the 1st version). Th= e second version I posted few minutes back is thoroughly tested in both ema= cs-25 and master and has no outshine.el dependency i.e. you can focus only = on that 2nd version of MWE.

OK.=C2=A0 Have a look at the *Messages* buffer.=C2=A0 You will see the = messages
come in pairs:=C2=A0 (I actually did this in a C Mode buffer.)

=C2=A0 =C2=A0 `comment-start' =3D `/* '
=C2=A0 =C2=A0 `comment-start' is undefined, it's value is: `nil'= ;

But in the echo area, you will only see the second one.

> I have tested this only for comment-start. But I suspect this might af= fect
> buffer local vars in general?

I think so, too.=C2=A0 When you visit a buffer, Emacs calls `normal-mode= 9; to
determine and set the major mode.=C2=A0 The first thing `normal-mode' d= oes is
to call `fundamental-mode'.=C2=A0 This invokes `change-major-mode-hook&= #39;,
which outputs the first "comment-start" message.=C2=A0 Then
`fundamental-mode' kills all local variables, including `comment-start&= #39;.

`normal-mode' then determines the correct major mode, and calls it.
This invokes `change-major-mode-hook' again, which outputs the second "comment-start" message with the `nil'.=C2=A0 The major mode = is then fully
set up, including giving a value to `comment-start'.

So, this code seems to be working the way it's intended to.=C2=A0

Thank you for that detailed explanation. I was = not aware of the major mode changes that were happening behind the scenes.<= /div>
=C2=A0
What is
outshine doing that triggers a problem in this area?=C2=A0

The outshine-mode-function function is actually added to ou= tline-minor-mode-hook. I have updated MWE version 2 with that in mind.

Is it doing things
with the `change-major-mode-hook' that involve using `comment-start'= ;?
Maybe this is the problem.

No, it does = not use change-major-mode-hook. But it does depend on the buffer local valu= e of comment-start.

In summary, the 2nd version of= my MWE should help you consistently show the behavior difference between e= macs-25 and master.
--

--
Kaushal Modi

--94eb2c04f99ed7cb4b05321ff52f-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 05:37:42 2016 Received: (at 23460) by debbugs.gnu.org; 6 May 2016 09:37:42 +0000 Received: from localhost ([127.0.0.1]:41151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aycCc-0008IC-0l for submit@debbugs.gnu.org; Fri, 06 May 2016 05:37:42 -0400 Received: from mail.muc.de ([193.149.48.3]:30918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aycCZ-0008I2-Nq for 23460@debbugs.gnu.org; Fri, 06 May 2016 05:37:40 -0400 Received: (qmail 71995 invoked by uid 3782); 6 May 2016 09:37:39 -0000 Received: from acm.muc.de (p548C6264.dip0.t-ipconnect.de [84.140.98.100]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 06 May 2016 11:37:37 +0200 Received: (qmail 4090 invoked by uid 1000); 6 May 2016 09:37:37 -0000 Date: Fri, 6 May 2016 09:37:37 +0000 To: Kaushal Modi Subject: Re: 25.1.50; Strange behavior in local variables like start-comment Message-ID: <20160506093736.GB3898@acm.fritz.box> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23460 Cc: 23460@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: -2.1 (--) Hello, Kaushal. On Thu, May 05, 2016 at 10:20:27PM +0000, Kaushal Modi wrote: > > I'll keep you posted. > OK, I was able to get a minimum working example sooner than I thought :) > Please save the below as test.el (or some file name; else revert-buffer > will not work), open it in emacs -Q and evaluate it. > ===== test.el ===== > (progn > (defun my/print-comment-start-value () > (interactive) > (message (format "`comment-start' = `%s'" comment-start))) > (defun my/repeat-revert-buffer-noconfirm (count) > (interactive "p") > (dotimes (i count) > (revert-buffer nil :noconfirm))) > (add-hook 'outline-minor-mode-hook #'my/print-comment-start-value) > ; (remove-hook 'outline-minor-mode-hook #'my/print-comment-start-value) > (global-set-key (kbd "") #'my/repeat-revert-buffer-noconfirm)) > ;; Local Variables: > ;; eval: (outline-minor-mode 1) > ;; End: > ===== > In emacs 25.0.93 (emacs-25 build), after opening test.el, evaluating it and > hitting F5, I get below (which is good, expected): > ‘comment-start’ = ‘;’ [2 times] > But in emacs 25.1.50 (master build), after opening test.el, evaluating it > and hitting F5, I get: > ‘comment-start’ = ‘;’ > ‘comment-start’ = ‘nil’ [2 times] > ‘comment-start’ = ‘;’ > So it looks like the outline-minor-mode-hook is called twice more in the > master branch and also intermittently, the comment-start loses its buffer > local value. > Hope this mini test helps debug this. Yes, thanks! I think I've nailed it - normal-mode is calling hack-local-variables right at the start, when it shouldn't. Could you please try out the following patch (which I've also posted for bug #23463): diff --git a/lisp/files.el b/lisp/files.el index d89b2f5..21f7bdc 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2316,7 +2316,10 @@ normal-mode or from Lisp without specifying the optional argument FIND-FILE; in that case, this function acts as if `enable-local-variables' were t." (interactive) - (fundamental-mode) + (kill-all-local-variables) + (unless delay-mode-hooks + (run-hooks 'change-major-mode-after-body-hook + 'after-change-major-mode-hook)) (let ((enable-local-variables (or (not find-file) enable-local-variables))) ;; FIXME this is less efficient than it could be, since both ;; s-a-m and h-l-v may parse the same regions, looking for "mode:". > -- > Kaushal Modi -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 10:31:45 2016 Received: (at 23460) by debbugs.gnu.org; 6 May 2016 14:31:45 +0000 Received: from localhost ([127.0.0.1]:41892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aygnB-00009L-C5 for submit@debbugs.gnu.org; Fri, 06 May 2016 10:31:45 -0400 Received: from mail-oi0-f45.google.com ([209.85.218.45]:35564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aygn8-000092-Hn for 23460@debbugs.gnu.org; Fri, 06 May 2016 10:31:43 -0400 Received: by mail-oi0-f45.google.com with SMTP id x19so140631373oix.2 for <23460@debbugs.gnu.org>; Fri, 06 May 2016 07:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZaVrHwz7CLUZpjf4GtJuukdL3qHggrC+VcUT5UoiNJ4=; b=s/xW+q/rXIhAPfg9J558yTBnl0aDPP+/3rqRbW/h2muGWNlnE0uA0hHbEGw+5s0Dzn AKBJzVHI74utLwEhloPV/Q6X1VhM3rRWYbk68lMvCeRYDxyYgZm0kCwy0qXy+s6eHF+6 yh9bNGugHD+jAJ8C80Nj1LgIyrDI8qhdQ6bLMK+d65L4DbQD5b+vf0ilzU3UnkF2smvV fOFYmu5oT7PwBK0KPo5tRL04AVIMFyK45K1cm5c1CwcWml3bdsav1rhRQ25fDKQFwqzx K7gQOKlDjYuP3QFRiNSK2G3ixag2KPJsPd9RXqsVAJMdvqCOTGeMz4e95VOHpdLw8nyl JNaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZaVrHwz7CLUZpjf4GtJuukdL3qHggrC+VcUT5UoiNJ4=; b=mw8EKLKE4FgRFtzJgze9qCaTVSUUtL6naRQYIXC3n8R1rEa5iiEWbfhlD2piJUigGt NL7dflBaH8SDmQEeD+B5C3O/0fCA6WMJJiDA3Zqw6C5H9QSexTiOcoNqiJkEs7DvxhqX 9v63p2LP0y/4nh+Ouj8tMhiQOU7liHqCkd3AroWmErOGeoPi0UAUUzSCsm3Cc4BmNt8q vG7siYN4Tdi1vMKP8zHouh3oEHnQYcMGepVauT8ppUDxRdnCG79BLDvDYJw2E5HWJkuq xbTIQGZmb40MQ3jIQqHviuhDqXPu9V/J+8XtqvVIB0q/8jO7n+EhxXG0IJ2rpzYHzIj6 ++Wg== X-Gm-Message-State: AOPr4FVzA9bsbYXEuyCaD+F1L47AOHltpVXZTSzcFwOr9n2o0NTfOevq/pUc+2aqHjalEwtGKvosjWpjNyRkOw== X-Received: by 10.202.179.8 with SMTP id c8mr9947474oif.50.1462545096756; Fri, 06 May 2016 07:31:36 -0700 (PDT) MIME-Version: 1.0 References: <20160506093736.GB3898@acm.fritz.box> In-Reply-To: <20160506093736.GB3898@acm.fritz.box> From: Kaushal Modi Date: Fri, 06 May 2016 14:31:27 +0000 Message-ID: Subject: Re: 25.1.50; Strange behavior in local variables like start-comment To: Alan Mackenzie Content-Type: multipart/alternative; boundary=001a113ce3c6f5d6b205322d50ec X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23460 Cc: 23460@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.7 (/) --001a113ce3c6f5d6b205322d50ec Content-Type: text/plain; charset=UTF-8 On Fri, May 6, 2016 at 5:37 AM Alan Mackenzie wrote: > Yes, thanks! > > I think I've nailed it - normal-mode is calling hack-local-variables > right at the start, when it shouldn't. > > Could you please try out the following patch (which I've also posted for > bug #23463): > Thanks! That fixes the bug for me; I tested it both on that MWE and running the master build with fixed files.el using my full-blown config :) -- -- Kaushal Modi --001a113ce3c6f5d6b205322d50ec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Fri, May 6,= 2016 at 5:37 AM Alan Mackenzie <acm@muc.d= e> wrote:
Yes, thanks!

I think I've nailed it - normal-mode is calling hack-local-variables right at the start, when it shouldn't.

Could you please try out the following patch (which I've also posted fo= r
bug #23463):

Thanks! That fixes the bug= for me; I tested it both on that MWE and running the master build with fix= ed files.el using my full-blown config :)=C2=A0
--

--
Kaushal Modi

--001a113ce3c6f5d6b205322d50ec-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 10:34:07 2016 Received: (at control) by debbugs.gnu.org; 6 May 2016 14:34:07 +0000 Received: from localhost ([127.0.0.1]:41896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aygpT-0000D3-0r for submit@debbugs.gnu.org; Fri, 06 May 2016 10:34:07 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:35119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aygpR-0000CX-7y for control@debbugs.gnu.org; Fri, 06 May 2016 10:34:05 -0400 Received: by mail-oi0-f47.google.com with SMTP id x19so140713907oix.2 for ; Fri, 06 May 2016 07:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc; bh=rlqAr7JDaRFJ6tZC8Rsl/3/d+EVwOWeO6n2KoaF/tXQ=; b=ClMbAskM4izt28XBqGcBwwyiPnMB0ka0OO390rsw33jwaHyVTUytPYuD9yGdi+dcgW /04W00+y2cakfuRFGcA44L5mxG1oh+6H2h35yLufcqLe0eab6hDGC+kKWf0RznNhFbiO l2VH7YXBw3PEipp1I9ceCGLqTDIb4Jtbav8K9L6X6I0vi62SF+ZXuyLMOx5ARfHBCQR5 fW0Tk6ie2coUbw2OrhaAGzHi7UTclFw9LGTPGnY0+TmWp3gqxbTKw0VE1illD1NDsbgZ BabkYeMxrVkSTXRaqEIukLLJVmyAmVFFKUmFjrkyhdbVHG7s67IGLy2a18gB4dHw9rxF PpXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=rlqAr7JDaRFJ6tZC8Rsl/3/d+EVwOWeO6n2KoaF/tXQ=; b=jKlGBa8fVkSZXatoLSI9bmXAq9yPeITh5B+BmKySf6QQHbNfOBpMI+lANSHJlrOnvM gWmcZ4wewxv8cfDAM/XaDptE3e+5VxhCKwvabPPLdDyBIcYIkMoNZJz0SL5Nx9ZUMrzi QhELriz1O07gqSyDei0KCuDsSAXgYiWW865uVtGDNHgfJ4oQNmMVjcJ4gZ3pcZMEzhh+ 6rHKfjbG939XgG84QiLkn34i05hC+Oc1VtfoNHG/5ZFS9fRjzO6Ao8vWary4+kBzKYfi v78PCK4Nx74HtHcEcCWHOntcimD3lrbTbenT3m+GphgivXujNr+d2KlHEpSJVO8tijpx UWlQ== X-Gm-Message-State: AOPr4FXwGwR1/XzndPAsG/mcew/DcINCfuNUk4vHfWMWBr5qdg+jHik6gjGqqiSZB1DoeWsYi3ryNH/nf/hhLQ== X-Received: by 10.157.0.68 with SMTP id 62mr10364091ota.189.1462545239854; Fri, 06 May 2016 07:33:59 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Fri, 06 May 2016 14:33:50 +0000 Message-ID: Subject: Merge 23460 and 23463 To: "control@debbugs.gnu.org" Content-Type: multipart/alternative; boundary=94eb2c0441f47d553b05322d5939 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control Cc: Alan Mackenzie , Glenn Morris 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.7 (/) --94eb2c0441f47d553b05322d5939 Content-Type: text/plain; charset=UTF-8 merge 23460 23463 -- -- Kaushal Modi --94eb2c0441f47d553b05322d5939 Content-Type: text/html; charset=UTF-8
merge 23460 23463
--

--
Kaushal Modi

--94eb2c0441f47d553b05322d5939-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 15:25:58 2016 Received: (at 23460-done) by debbugs.gnu.org; 6 May 2016 19:25:58 +0000 Received: from localhost ([127.0.0.1]:42056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aylNu-0002FU-Af for submit@debbugs.gnu.org; Fri, 06 May 2016 15:25:58 -0400 Received: from mail.muc.de ([193.149.48.3]:46460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aylNs-0002FK-RE for 23460-done@debbugs.gnu.org; Fri, 06 May 2016 15:25:57 -0400 Received: (qmail 13807 invoked by uid 3782); 6 May 2016 19:25:56 -0000 Received: from acm.muc.de (p548C6264.dip0.t-ipconnect.de [84.140.98.100]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 06 May 2016 21:25:54 +0200 Received: (qmail 10062 invoked by uid 1000); 6 May 2016 19:25:55 -0000 Date: Fri, 6 May 2016 19:25:55 +0000 To: Kaushal Modi Subject: Re: 25.1.50; Strange behavior in local variables like start-comment Message-ID: <20160506192555.GD3898@acm.fritz.box> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23460-done Cc: 23460-done@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: -2.1 (--) Bug fixed in the master branch. -- Alan Mackenzie (Nuremberg, Germany). From unknown Mon Aug 18 06:56:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 04 Jun 2016 11:24:03 +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