From: Niels Giesen <niels.giesen@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs/w3m textarea editing in same window
Date: Mon, 17 Nov 2008 21:08:36 +0100 [thread overview]
Message-ID: <87r65aw1x7.fsf@gmail.com> (raw)
In-Reply-To: 87myfyedew.fsf@ma-patru.mathematik.uni-karlsruhe.de
Nicolas Neuss <lastname@math.uni-karlsruhe.de> writes:
> Hello,
>
> when editing textareas in Emacs/w3m I end up editing in a separate (and
> smaller) window. Since my blocks of text are rather large, I would prefer
> very much if the current window would be used for editing (and restored
> afterwards). I tried to get this behaviour by using
>
> (pushnew "*w3m form textarea*" same-window-buffer-names)
>
> Unfortunately, this did not help. Does anyone here know a solution?
This is because `w3m-form-input-textarea' does not call one of
`display-buffer' and `pop-to-buffer', but rather `switch-to-buffer', and
handles window creation and ~ switching itself.
I see no way short of either commenting out
(condition-case nil
(split-window cur-win (if (> size 0) size window-min-height))
(error
(delete-other-windows)
(split-window cur-win (- (window-height cur-win)
w3m-form-input-textarea-buffer-lines))))
(select-window (next-window))
at the end of the definition of w3m-form-input-textarea, or filing a
feature request (preferably with a patch) to the devs of emacs-w3m that
would achieve what you want.
prev parent reply other threads:[~2008-11-17 20:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 12:37 Emacs/w3m textarea editing in same window Nicolas Neuss
2008-11-17 20:08 ` Niels Giesen [this message]
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=87r65aw1x7.fsf@gmail.com \
--to=niels.giesen@gmail.com \
--cc=help-gnu-emacs@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.
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).