all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* local variables in indirect buffers
@ 2006-04-24 17:33 Bill Lytton
  0 siblings, 0 replies; only message in thread
From: Bill Lytton @ 2006-04-24 17:33 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.4.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-03-07 on hs20-bc1-6.build.redhat.com
configured using `configure  --build=i386-redhat-linux --host=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-pop --with-sound'
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_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

According to the info page:
"But in all other respects, the indirect
buffer and its base buffer are completely separate.  They have
different names, different values of point, different narrowing,
different markers, different major modes, and different local variables."

I am unable to get a different local variable value in the indirect buffer:

(defvar bb 1 "a")
(make-variable-buffer-local bb)
(defun faa () (interactive) (setq bb current-prefix-arg))

^x4c to clone and indirect buffer of my current buffer

I then used (faa) interactively with different prefix args to reset bb in the 2
buffers

^hv "bb" then showed that local var in both was now equal to the most recently
set value



Recent input:


Recent messages:
filemgm: Quit
Quit
Mark set

Mark saved where search started
keyboard-quit: Quit
Loading apropos...done
Mark saved where search started
report-emacs-bug is on <menu-bar> <help-menu> <report-emacs-bug>
Loading emacsbug...done

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-24 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-24 17:33 local variables in indirect buffers Bill Lytton

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.