all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* use-empty-active-region
@ 2009-08-13 16:17 Andreas Roehler
  2009-08-13 17:22 ` use-empty-active-region Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Roehler @ 2009-08-13 16:17 UTC (permalink / raw)
  To: emacs-devel; +Cc: Richard M Stallman


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






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

* Re: use-empty-active-region
  2009-08-13 16:17 use-empty-active-region Andreas Roehler
@ 2009-08-13 17:22 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2009-08-13 17:22 UTC (permalink / raw)
  To: Andreas Roehler; +Cc: Richard M Stallman, emacs-devel

> AFAIR I've seen that kind of things, but always
> considered it as being redundant, rather posing
> problems than solving it.
[...]
> So maybe drop it again?

I'm in favor of dropping it, indeed.


        Stefan




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

end of thread, other threads:[~2009-08-13 17:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13 16:17 use-empty-active-region Andreas Roehler
2009-08-13 17:22 ` use-empty-active-region Stefan Monnier

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.