unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: line-move-ignore-invisible and global-disable-point-adjustment
Date: Fri, 04 Jan 2008 14:10:50 -0500	[thread overview]
Message-ID: <jwvwsqpwh88.fsf-monnier+emacs@gnu.org> (raw)


I propose to remove line-move-ignore-invisible and make line-move use
(not global-disable-point-adjustment) instead.

It is difficult to get line-move working correctly.  Recently there have
been bugs that only appeared for some combinations of
line-move-ignore-invisible and global-disable-point-adjustment, more
specifically for the case where both were nil.

There has not been any compelling evidence that users would ever want to
set both of those to nil or both to t, other than by accident, so by
removing those 2 cases we get to eliminate some bugs and also we get to
avoid having to figure what actually *means* a combination such as "nil
and nil" or "t and t".

If we agree that this is a good change, then comes the second part of
the discussion which is about how to go about doing it: since the value
of the those vars should be the negative of the other, we can't just use
defvaralias, so we'll have to declare line-move-ignore-invisible as
obsolete but still make it work (more or less) as before.


        Stefan

             reply	other threads:[~2008-01-04 19:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04 19:10 Stefan Monnier [this message]
2008-01-05 10:20 ` line-move-ignore-invisible and global-disable-point-adjustment martin rudalics
2008-01-05 14:31 ` Richard Stallman

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=jwvwsqpwh88.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /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).