unofficial mirror of emacs-devel@gnu.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,
	"'T.V. Raman'" <tv.raman.tv@gmail.com>,
	'Chong Yidong' <cyd@stupidchicken.com>,
	"'Andrew W. Nosenko'" <andrew.w.nosenko@gmail.com>,
	emacs-devel@gnu.org, 'ishikawa' <chiaki.ishikawa@ubin.jp>,
	ams@gnu.org, stephen@xemacs.org, eliz@gnu.org
Subject: RE: please make line-move-visual nil
Date: Mon, 1 Jun 2009 14:00:34 -0700	[thread overview]
Message-ID: <31703F2EAE7D4CAF8E671B0C18916D01@us.oracle.com> (raw)
In-Reply-To: <jwvoct71zxc.fsf-monnier+emacs@gnu.org>

> > More typically (in formatted buffers), we want to reflect 
> > the use of newlines (they are positioned intentionally)
> > and maintain the current column for line movement, but
> > there is no single, privileged column (e.g. file name)
> > that we want to constrain point to, as there is in Dired.
> 
> I don't know if it's typical, but for most of those kinds of 
> buffers you describe as "formatted", I think they should at
> least set truncate-lines.

No reason given. Why?

Why should Buffer List or Info or Man output or grep output or C code or Java
code buffers have `truncate-lines' turned on? Because newlines are intentionally
positioned in such modes, they should use `truncate-lines'? Why would that be?

Is this a diversion to some other topic? What's the relation to the topic at
hand, which is `line-move-visual'?

> > Each formatted buffer could individually define its own 
> > line-movement commands, which amounts to just binding
> > `line-move-visual' to nil around a call to `next-line'.
> > But that would be a bit silly. Better to just let the
> > variable be buffer-local.  And provide nil as
> > the default value for most formatted buffers.
> 
> Any major mode is free to (set (make-local-variable 
> 'line-move-visual) nil).

For those modes that come with Emacs, it is the Emacs code that would need to do
that. It doesn't happen by spontaneous combustion.

I proposed making the variable always buffer-local. If you don't want to do
that, then yes, each mode for which nil is appropriate would need to do that.

Or the opposite: Switch the default to nil, and let the (relatively fewer?)
modes that use primarily free-form text do (set (make-local-variable
'line-move-visual) t).

> As of now, I don't think any mode bothers to do that.

Of course not. Nothing has been done yet about this issue. That's what the
discussion is about: tailoring `line-move-visual' so that it DTRT.

Which means turn itself off, by default, for non free-text modes, that is, code
modes and modes with formatted text. IMHO.

> > BTW, you didn't answer the questions about the poll.
> > How's it coming along?  Where is it?
> 
> I can't think of any poll which would bring any satisfactory answer to
> the discussion.

"Let them eat cake!"

(Or as the right-wing French government official said back in the day, speaking
of the Nouvelle Caledonian independentistes, "Ever since we stopped listening to
them, we don't hear anything from them anymore.") Poll, what poll?





  reply	other threads:[~2009-06-01 21:00 UTC|newest]

Thread overview: 127+ 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                                                 ` Chong Yidong
2009-06-01 18:26                                                   ` Drew Adams
2009-06-01 20:11                                                     ` Stefan Monnier
2009-06-01 21:00                                                       ` Drew Adams [this message]
2009-06-01 21:25                                                         ` Lennart Borgman
2009-06-01 21:33                                                           ` Drew Adams
2009-06-01 21:56                                                             ` Lennart Borgman
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                                                               ` Drew Adams
2009-06-01 23:13                                                             ` Eli Zaretskii
2009-06-01 23:23                                                               ` Drew Adams
2009-06-02 15:59                                                                 ` Eli Zaretskii
2009-06-12 17:16                                                           ` Drew Adams
2009-06-12 21:45                                                             ` Stefan Monnier
2009-06-13  0:19                                                               ` Drew Adams
2009-06-14 20:45                                                                 ` Stefan Monnier
2009-06-01 23:18                                                     ` Drew Adams
2009-06-02  1:29                                                       ` Stefan Monnier
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=31703F2EAE7D4CAF8E671B0C18916D01@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=3438@emacsbugs.donarmstrong.com \
    --cc=ams@gnu.org \
    --cc=andrew.w.nosenko@gmail.com \
    --cc=chiaki.ishikawa@ubin.jp \
    --cc=cyd@stupidchicken.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=stephen@xemacs.org \
    --cc=tv.raman.tv@gmail.com \
    /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 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).