unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11237: 23.3; option word-wrap not saved or at least not used on next emacs invocation --text follows this line--
@ 2012-04-13 14:41 e.c.
  2021-01-20 17:25 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: e.c. @ 2012-04-13 14:41 UTC (permalink / raw)
  To: 11237

From: eminmn@sysmatrix.net (Ed C.)
To: bug-gnu-emacs@gnu.org
Subject: 23.3; option word-wrap not saved or at least not used on next
emacs invocation
--text follows this line--

*******
Options > Line wrapping in this buffer > Wrap at window edge and then
save options will not set up window edge line wrapping in future
sessions. (word-wrap nil) is written to the custom-set-variables section
of .emacs but the default visual line mode is always used instead.
I can get the behavior I want by writing (global-visual-line-mode -1) to
the end of my .emacs instead. Shouldn't this be what is done if the user
effectively wants the default to be window edge wrapping when Save for
future sessions is chosen in Cuscomize?
**********

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
c:/emacs/etc/DEBUG.


In GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600)
 of 2011-03-10 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/imagesupport/include'

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

Major mode: Text

Minor modes in effect:
  show-paren-mode: t
  recentf-mode: t
  pc-selection-mode: t
  iswitchb-mode: t
  display-time-mode: t
  display-battery-mode: t
  delete-selection-mode: t
  mouse-wheel-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-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<switch-frame> <menu-bar> <buffer> C-a <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<file> <Open Recent> <c:/mydocu~1/morglex.txt> C-x
1 <next> <next> <next> <next> <next> <next> <f7> s
e v e n <return> <down-mouse-1> <mouse-1> ; SPC - -
SPC h u n d r e d SPC s e p t i n g e n t i <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
Loading time...done
Loading gnus...done
Loading iswitchb...done
Loading pc-select...done
Loading recentf...done
Loading paren...done
Loading c:/emacs/.recentf...done
Cleaning up the recentf list...done (0 removed)
non-existent agenda file ~/org. [R]emove from list or [A]bort?
org-check-agenda-file: Abort

Load-path shadows:
c:/emacs/site-lisp/htmlfontify hides c:/emacs/lisp/htmlfontify
c:/emacs/lisp/progmodes/sym-comp hides c:/emacs/lisp/obsolete/sym-comp
c:/emacs/lisp/emacs-lisp/lucid hides c:/emacs/lisp/obsolete/lucid
c:/emacs/lisp/emacs-lisp/lmenu hides c:/emacs/lisp/obsolete/lmenu
c:/emacs/lisp/emacs-lisp/levents hides c:/emacs/lisp/obsolete/levents
c:/emacs/lisp/emacs-lisp/cl-compat hides c:/emacs/lisp/obsolete/cl-compat

Features:
(shadow sort mail-extr emacsbug org-agenda org byte-opt warnings
bytecomp byte-compile advice help-fns advice-preload org-footnote
org-src org-list org-faces org-compat org-macs noutline outline server
paren recentf tree-widget pc-select iswitchb gnus gnus-ems time battery
desktop delsel cus-start cus-load message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils smtpmail sendmail mule-util cal-move
cal-menu calendar cal-loaddefs remember ange-ftp regexp-opt comint ring
hfyview easy-mmode easymenu htmlfontify tex-site tooltip ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win
w32-vars tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#11237: 23.3; option word-wrap not saved or at least not used on next emacs invocation --text follows this line--
  2012-04-13 14:41 bug#11237: 23.3; option word-wrap not saved or at least not used on next emacs invocation --text follows this line-- e.c.
@ 2021-01-20 17:25 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-20 17:25 UTC (permalink / raw)
  To: e.c.; +Cc: 11237

"e.c." <eminmn@sysmatrix.net> writes:

> Options > Line wrapping in this buffer > Wrap at window edge and then
> save options will not set up window edge line wrapping in future
> sessions.

(I'm going through old bug reports that unfortunately got no response at
the time.)

Well, the option is "in this buffer", and looking in the code, it's not
saving this option at all, so I'm not able to reproduce this bit (in
Emacs 28):

> (word-wrap nil) is written to the custom-set-variables section
> of .emacs but the default visual line mode is always used instead.

So I think everything here is working as designed -- the other options
that are saved are global options, and not "this buffer" options, so I'm
closing this bug report.  If there's anything further to be done here,
please respond to the debbugs address and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-20 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-13 14:41 bug#11237: 23.3; option word-wrap not saved or at least not used on next emacs invocation --text follows this line-- e.c.
2021-01-20 17:25 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).