all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>
Cc: 3438@emacsbugs.donarmstrong.com, emacs-devel@gnu.org
Subject: RE: please make line-move-visual nil
Date: Fri, 12 Jun 2009 17:19:27 -0700	[thread overview]
Message-ID: <974D05E488D048A29C81E245A963E28E@us.oracle.com> (raw)
In-Reply-To: <jwvvdn1dt40.fsf-monnier+emacs@gnu.org>

> > > > I proposed making the variable always buffer-local.
> > 
> > SM> There would be no benefit to it:
> > SM> (set (make-local-variable <foo>) <bar>)
> > SM> is the standard way for major modes to set variables.
> > 
> > Irrelevant. This is not about how to set the variable, but 
> > whether the variable should always be buffer-local.
> >
> > `truncate-lines', `word-wrap', and similar variables are
> > all always buffer-local.
> 
> `truncate-lines' is always buffer-local. for historical reasons.
> `word-wrap' is buffer-local by mistake.

Why do you consider the latter a mistake? Is the former a mistake too, but won't
be fixed? Why not, if it's misguided?

And `goal-column', `fill-column, `fill-prefix', `left-margin', `comment-column',
`tab-width', `require-final-newline'? Are they also mistakes?

Put it another way: Which variables that have to do with wrapping, filling,
truncating, target columns, and line/buffer endings are *NOT* always
buffer-local? Which are not mistakes?

And what's the _reason_ you call them mistakes? It's easy to dismiss -
"historical", "mistake" - but why shouldn't they be always buffer-local? What
are the criteria for your judgment?

The only reason you gave was that major modes can make variables buffer local if
they need to. That's doesn't speak to why they would or would not do that.

And if that were the answer, then we would not have _any_ variables that are
always buffer-local - we would just leave it up to major modes to make them
buffer-local as needed. Why don't we expect `comment-column' (for instance) to
simply be made buffer-local by each major mode that needs that?





  reply	other threads:[~2009-06-13  0:19 UTC|newest]

Thread overview: 144+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-24 12:30 please make line-move-visual nil Alfred M. Szmidt
2009-05-13 13:35 ` garyo
2009-05-13 23:59   ` Deniz Dogan
2009-05-14  0:06     ` garyo
2009-05-14  8:51       ` Teemu Likonen
2009-05-14  9:37         ` Antoine Levitt
2009-05-15  3:21           ` Lennart Borgman
2009-05-15  4:22             ` Stephen J. Turnbull
2009-05-17  6:29               ` Alfred M. Szmidt
2009-05-14 11:29         ` garyo
2009-05-14 15:37           ` Teemu Likonen
2009-05-15  2:45             ` Alfred M. Szmidt
2009-05-15 14:31               ` Davis Herring
2009-05-17  6:29                 ` Alfred M. Szmidt
2009-05-17 10:48                   ` Eli Zaretskii
2009-05-17 20:28                     ` Davis Herring
2009-05-24 22:33                       ` Drew Adams
2009-05-24 23:18                         ` Bastien
2009-05-24 23:18                         ` Leo
2009-05-24 23:50                           ` Chong Yidong
2009-05-24 23:58                             ` Lennart Borgman
2009-05-25  8:05                               ` Miles Bader
2009-05-25  0:53                             ` Drew Adams
2009-05-25  1:03                               ` Chong Yidong
2009-05-25  1:59                                 ` Drew Adams
2009-05-25 13:23                                   ` Stefan Monnier
2009-05-25 17:51                                     ` Drew Adams
2009-05-25  2:32                                 ` Stephen J. Turnbull
2009-05-25  3:01                                   ` Eli Zaretskii
2009-05-25  4:16                                     ` Alfred M. Szmidt
2009-05-25  8:34                                       ` Bastien
2009-05-25 20:21                                       ` Eli Zaretskii
2009-05-25 20:46                                         ` Drew Adams
2009-05-27 12:48                                       ` Andrew W. Nosenko
2009-05-27 12:51                                         ` Andrew W. Nosenko
2009-05-31 11:45                                         ` Alfred M. Szmidt
2009-05-31 12:08                                           ` Andreas Schwab
2009-05-31 17:00                                             ` Miles Bader
2009-05-31 22:29                                               ` Bob Rogers
2009-06-01  2:33                                                 ` Miles Bader
2009-06-01  9:22                                                   ` Lennart Borgman
2009-06-01  9:54                                                     ` Miles Bader
2009-06-01  9:59                                                       ` Lennart Borgman
2009-06-05 22:13                                                         ` Thien-Thi Nguyen
2009-05-31 13:09                                           ` Deniz Dogan
2009-06-01  2:39                                             ` Miles Bader
2009-05-31 21:19                                           ` Chong Yidong
2009-06-01  7:24                                             ` Mathias Megyei
2009-06-01 13:29                                           ` Stefan Monnier
2009-06-01 14:36                                             ` T.V. Raman
2009-06-01 16:20                                               ` Drew Adams
2009-06-01 17:56                                                 ` bug#3438: " Chong Yidong
2009-06-01 17:56                                                 ` Chong Yidong
2009-06-01 18:26                                                   ` Drew Adams
2009-06-01 20:11                                                     ` Stefan Monnier
2009-06-01 21:00                                                       ` Drew Adams
2009-06-01 21:25                                                         ` bug#3438: " Lennart Borgman
2009-06-01 21:25                                                         ` Lennart Borgman
2009-06-01 21:33                                                           ` bug#3438: " Drew Adams
2009-06-01 21:33                                                           ` Drew Adams
2009-06-01 21:56                                                             ` Lennart Borgman
2009-06-01 21:56                                                             ` bug#3438: " Lennart Borgman
2009-06-01 22:33                                                         ` Stefan Monnier
2009-06-01 22:33                                                         ` Stefan Monnier
2009-06-01 22:52                                                           ` Drew Adams
2009-06-01 23:12                                                             ` Lennart Borgman
2009-06-01 23:57                                                               ` bug#3438: " Drew Adams
2009-06-01 23:57                                                               ` Drew Adams
2009-06-01 23:12                                                             ` bug#3438: " Lennart Borgman
2009-06-01 23:13                                                             ` Eli Zaretskii
2009-06-01 23:23                                                               ` Drew Adams
2009-06-02 15:59                                                                 ` Eli Zaretskii
2009-06-02 15:59                                                                 ` bug#3438: " Eli Zaretskii
2009-06-01 23:23                                                               ` Drew Adams
2009-06-01 23:13                                                             ` Eli Zaretskii
2009-06-01 22:52                                                           ` Drew Adams
2009-06-12 17:16                                                           ` Drew Adams
2009-06-12 17:16                                                           ` Drew Adams
2009-06-12 21:45                                                             ` Stefan Monnier
2009-06-13  0:19                                                               ` Drew Adams [this message]
2009-06-14 20:45                                                                 ` Stefan Monnier
2009-06-13  0:19                                                               ` bug#3438: " Drew Adams
2009-06-12 21:45                                                             ` Stefan Monnier
2009-06-01 21:00                                                       ` Drew Adams
2009-06-01 20:11                                                     ` Stefan Monnier
2009-06-01 23:18                                                     ` Drew Adams
2009-06-02  1:29                                                       ` Stefan Monnier
2009-06-01 18:26                                                   ` bug#3438: " Drew Adams
2009-05-25  8:18                                     ` Drew Adams
2009-05-25 20:46                                       ` Eli Zaretskii
2009-05-25 21:06                                         ` Drew Adams
2009-05-25 21:28                                           ` Eli Zaretskii
2009-05-25  2:57                             ` Eli Zaretskii
2009-05-25  8:10                               ` Miles Bader
2009-05-26  3:48                               ` Chong Yidong
2009-05-24 23:53                         ` David Reitter
2009-05-25  0:03                           ` Lennart Borgman
2009-05-25  0:52                           ` Drew Adams
2009-05-25  2:32                             ` David Reitter
2009-05-25  8:35                               ` Drew Adams
2009-05-25  2:26                           ` Stephen J. Turnbull
2009-05-25  2:02                         ` Stefan Monnier
2009-05-25  4:16                           ` Alfred M. Szmidt
2009-05-25  8:16                             ` Miles Bader
2009-05-25  9:29                               ` Ulrich Mueller
2009-05-25 10:16                                 ` Miles Bader
2009-05-26  0:13                                 ` Richard M Stallman
2009-05-28 10:38                                   ` David Kastrup
2009-05-28 11:23                                     ` Bastien
2009-05-28 13:38                                     ` Werner LEMBERG
2009-05-29  4:39                                     ` rms
2009-05-26  9:52                                 ` Alan Mackenzie
2009-05-26 12:08                                   ` Lennart Borgman
2009-05-26 12:36                                     ` Rupert Swarbrick
2009-05-26 20:12                                     ` Alfred M. Szmidt
2009-05-25  8:17                           ` Drew Adams
2009-05-25 13:29                             ` Stefan Monnier
2009-05-25 17:51                               ` Drew Adams
2009-05-25 21:14                                 ` Stefan Monnier
2009-05-25 21:26                                   ` Lennart Borgman
2009-05-26  6:56                                   ` Tassilo Horn
2009-05-26 11:37                                     ` Deniz Dogan
2009-05-26 12:24                                       ` Lennart Borgman
2009-05-26 12:42                                         ` David Reitter
     [not found]                                           ` <m3hbz8c9qy.fsf@verona.se>
2009-05-26 12:58                                             ` David Reitter
2009-05-26 12:42                                         ` joakim
2009-05-26 13:54                                         ` Jason Rumney
2009-05-26 20:21                                           ` Lennart Borgman
2009-05-27  2:50                                             ` Miles Bader
2009-05-26 16:56                                       ` Stefan Monnier
2009-05-26 19:17                                   ` Tobias C. Rittweiler
2009-05-14 17:14   ` Bob Nnamtrop
2009-05-14 16:00 ` Shaun Johnson
2009-05-14 16:20   ` David Reitter
2009-05-14 18:17     ` Alan Mackenzie
2009-05-15  5:32       ` David Reitter
2009-05-15  7:18         ` Stephen J. Turnbull
2009-05-15  7:40         ` Stephen Berman
2009-05-15  7:58           ` Miles Bader
2009-05-15 14:14             ` Drew Adams
2009-05-15 14:21             ` Stephen Berman
2009-05-15 14:27               ` Miles Bader
2009-05-16  6:13               ` Stephen J. Turnbull
2009-05-17  3:53       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=974D05E488D048A29C81E245A963E28E@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=3438@emacsbugs.donarmstrong.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.