From: Andreas Roehler <andreas.roehler@online.de>
To: emacs-devel@gnu.org
Cc: Richard M Stallman <rms@gnu.org>
Subject: use-empty-active-region
Date: Thu, 13 Aug 2009 18:17:11 +0200 [thread overview]
Message-ID: <4A843C87.6090209@online.de> (raw)
Hi,
should have noticed earlier variable `use-empty-active-region' with change
Sun Dec 23 21:45:35 2007 UTC
Branch: MAIN
Changes since 1.890: +22 -0 lines
Diff to previous 1.890
Sorry commenting it that late.
AFAIR I've seen that kind of things, but always
considered it as being redundant, rather posing
problems than solving it.
Rationale is:
Certainly exists a need to decide if a function should
ignore an empty region or should send an error etc.
But AFAIU it can't be said all-at-once before, so a
variable and/or customization makes no sense here. Its
up to the function called at place, to decide its
behaviour.
Problem for me too: you can't know, how the user has
set it: no function may relay on its setting. Thats
producing conflicts, if different developers assume
different default values to rely upon.
See you've got a bug report already
bug#3873: 23.1.50; docstring of `region-active-p' is nonsensical
IMHO its not just the docstring. Saying "That function
checks the value of `use-empty-active-region' as well."
introduces a third level, i.e. complexity.
So maybe drop it again?
Maybe I miss something?
Thanks a lot all
Andreas
GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2009-07-25
next reply other threads:[~2009-08-13 16:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-13 16:17 Andreas Roehler [this message]
2009-08-13 17:22 ` use-empty-active-region 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=4A843C87.6090209@online.de \
--to=andreas.roehler@online.de \
--cc=emacs-devel@gnu.org \
--cc=rms@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 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.