From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Uday S Reddy <u.s.reddy@cs.bham.ac.uk>
Cc: emacs-devel@gnu.org
Subject: Re: annoyances [Was: shrink-window-if-larger-than-buffer in VC-diff]
Date: Mon, 16 Aug 2010 10:45:21 +0900 [thread overview]
Message-ID: <87vd7bbaa6.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <i49c1n$drl$1@dough.gmane.org>
Uday S Reddy writes:
> But the more general point is about Emacs taking liberties with
> switching windows. I suppose you understand that.
I understand, but don't necessarily sympathize. For example, with
find-file, it's pretty clear that automatically switching windows is a
good thing. Maybe in the case of C-x ` (is that `next-error' in your
context, as it is for me?) it should be optional. I admit I'm an
infrequent user of next-error, but I think it's quite natural to
switch windows since it's documented as visiting the error buffer and
the corresponding source file. This is almost always what I want. If
you don't like that behavior, you need to write your own function that
implements the workflow you want. As usual.[1]
It's true that many third-party modes do things like switching windows
that I find really annoying. However, most of that has long since
been beaten out of modes and functions that are part of core Emacs.
Footnotes:
[1] If the basic functionally you need is all hard-coded into
next-error, making this an annoying process of copying many large
sections of code, I would consider that a design bug. But if
next-error is well-factored into an error parser, a source finder, and
a window popper-upper, it should be easy to write your alternative
workflow, perhaps with some minor refactoring.
next prev parent reply other threads:[~2010-08-16 1:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-14 23:15 shrink-window-if-larger-than-buffer in VC-diff Chong Yidong
2010-08-15 1:14 ` Miles Bader
2010-08-15 7:07 ` Andreas Schwab
2010-08-15 9:38 ` annoyances [Was: shrink-window-if-larger-than-buffer in VC-diff] Uday S Reddy
2010-08-15 10:06 ` annoyances David Kastrup
2010-08-15 10:33 ` annoyances Uday S Reddy
2010-08-15 14:12 ` annoyances [Was: shrink-window-if-larger-than-buffer in VC-diff] Stephen J. Turnbull
2010-08-15 18:35 ` Uday S Reddy
2010-08-16 1:45 ` Stephen J. Turnbull [this message]
2010-08-16 8:54 ` Uday S Reddy
2010-08-15 22:44 ` shrink-window-if-larger-than-buffer in VC-diff Juanma Barranquero
2010-08-16 3:10 ` Chong Yidong
2010-08-16 23:06 ` Juanma Barranquero
2010-08-18 21:53 ` Chong Yidong
2010-08-20 9:06 ` martin rudalics
2012-10-27 13:45 ` martin rudalics
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=87vd7bbaa6.fsf@uwakimon.sk.tsukuba.ac.jp \
--to=stephen@xemacs.org \
--cc=emacs-devel@gnu.org \
--cc=u.s.reddy@cs.bham.ac.uk \
/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.