Subject: bug#9915: closed (Re: bug#9915: 24.0.91; Info-hide-node-references does not take effect immediately)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 19 Nov 2011 21:48:02 +0000

Your bug report

#9915: 24.0.91; Info-hide-node-references does not take effect immediately

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
9915: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9915
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#9915: 24.0.91; Info-hide-node-references does not take effect immediately
From: Juri Linkov <[email-masked]>
To: Eli Zaretskii <[email-masked]>
Cc: [email-masked]
Date: Sat, 19 Nov 2011 23:45:17 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> This should be fixed with the following patch that doesn't kill the
> *Info* buffer.  I tested it with `M-x makeinfo-buffer RET', with `M-x
> revert-buffer RET' and with customizing `Info-hide-node-references'.

Patch installed.

Subject: 24.0.91; Info-hide-node-references does not take effect immediately
From: Eli Zaretskii <[email-masked]>
To: [email-masked]
Date: Mon, 31 Oct 2011 07:47:22 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

 emacs -Q
 C-h i
 m Emacs RET

Observe this line near the middle of the window:

  For information on extending Emacs, see Emacs Lisp(elisp).

Use "M-x customize-variable" to customize the variable
Info-hide-node-references to a nil value.  Then return to the *info*
buffer.

Expected result: the above line shows the full reference, as in

  For information on extending Emacs, see *note Emacs Lisp: (elisp)Top.

Actual result: the display does not change, until you leave this node
and return to it, or manually invoke revert-buffer.

This is confusing.  The option should take effect immediately after it
is customized.

Bonus points for making its effect immediate when the variable's value
is changed through "M-x set-variable RET".

In GNU Emacs 24.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2011-10-31 on fencepost.gnu.org
configured using `configure  '--enable-asserts' '--enable-checking' '--with-gif=no' '--with-tiff=no' 'CFLAGS=-ggdb -g3 -O0 -DGLYPH_DEBUG=1''

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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: RMAIL

Minor modes in effect:
  shell-dirtrack-mode: t
  display-time-mode: t
  show-paren-mode: t
  savehist-mode: t
  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
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
6 ~ ESC [ 6 ~ ESC [ 6 ~ ESC [ 6 ~ ESC [ 6 ~ ESC [ 6 
~ ESC [ 6 ~ ESC [ 6 ~ ESC [ 6 ~ ESC [ 6 ~ ESC [ 6 ~ 
ESC [ 6 ~ ESC [ 6 ~ ESC [ 6 ~ ESC [ 6 ~ ESC [ 6 ~ ESC 
[ 6 ~ ESC [ 6 ~ ESC [ 5 ~ ESC [ 5 ~ ESC [ 5 ~ ESC [ 
5 ~ ESC [ 5 ~ ESC [ 5 ~ ESC [ 5 ~ ESC [ 5 ~ ESC [ 5 
~ ESC [ 5 ~ ESC [ 5 ~ ESC [ 6 ~ ESC [ 6 ~ ESC O A ESC 
O A ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B ESC O B ESC O A ESC O A C-x 
C-x C-w C-x C-s C-x k RET C-u g ESC O A RET d d d d 
d d SPC d SPC d SPC d d d d C-x C-s ESC ! ESC O A RET 
ESC x ESC O A RET ESC O A RET C-s 1 2 : 3 4 : 0 5 C-s 
ESC O B ESC [ 6 ~ ESC [ 6 ~ ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B ESC O B C-x C-x C-w C-x C-s C-x 
k RET C-u g ESC O A RET d d ESC x r e p o r t - e m 
TAB RET

Recent messages:
Wrote /home/e/eliz/mail.n2
Getting mail from /srv/data/home/e/eliz/mail.n2...
Counting new messages...done (2)
Saving file /home/e/eliz/INBOX...
Wrote /home/e/eliz/INBOX [2 times]
Computing summary lines...done
2 new messages read
Showing message 916
Showing message 916...done
No following nondeleted message

Load-path shadows:
None found.

Features:
(shadow emacsbug help-mode view newcomment multi-isearch shell
pcomplete comint ring flyspell ispell qp rmailsum rmailmm message
sendmail regexp-opt format-spec rfc822 mml easymenu mml-sec mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231
rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time
paren cus-start cus-load time-date savehist saveplace 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 dynamic-setting font-render-setting move-toolbar
gtk x-toolkit x multi-tty emacs)