From: Valentin Plechinger <v.plechinger@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: kill other buffer
Date: Mon, 22 Apr 2013 23:28:27 +0200 [thread overview]
Message-ID: <CAKZYFdbQ4=976N2-9ohJiLMQo4S8i4ezAnFXQWQTtmzgvCPFdA@mail.gmail.com> (raw)
In-Reply-To: <CAKZYFdbKLjdekVTBgZh3HSOzLSLfm5RJGSh2FFHC7aVp9ZiYhA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 951 bytes --]
(defun kill-other-buffer ()
(interactive)
(other-window 1)
(kill-this-buffer)
(other-window 1))
with more windows you'd have to rewrite it, so probably not the most
elegant solution
On Mon, Apr 22, 2013 at 11:26 PM, Valentin Plechinger <
v.plechinger@gmail.com> wrote:
> (defun kill-other-buffer ()
> (interactive)
> (other-window 1)
> (kill-this-buffer)
> (other-window 1))
>
> with more windows you'd have to rewrite it, so probably not the most
> elegant solution
>
>
>
> On Mon, Apr 22, 2013 at 8:58 PM, Rami A <rami.ammari@gmail.com> wrote:
>
>> Greetings,
>> I usually start emacs with split screen horizontally.
>> I have F3 programmed to kill-this-buffer "kills the current buffer
>> without confirmation"
>>
>> How would I have [S-F3] programmed to kill the buffer in the other window
>> without confirmation and without deleting the window itself? "I would like
>> to keep emacs split horizontally".
>>
>> Thanks.
>>
>
>
[-- Attachment #2: Type: text/html, Size: 1872 bytes --]
next prev parent reply other threads:[~2013-04-22 21:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-22 18:58 kill other buffer Rami A
[not found] ` <CAKZYFdbKLjdekVTBgZh3HSOzLSLfm5RJGSh2FFHC7aVp9ZiYhA@mail.gmail.com>
2013-04-22 21:28 ` Valentin Plechinger [this message]
[not found] ` <mailman.24480.1366666113.855.help-gnu-emacs@gnu.org>
2013-04-22 22:05 ` Rami A
2013-04-22 23:36 ` Valentin Plechinger
2013-04-22 22:41 ` Thorsten Jolitz
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='CAKZYFdbQ4=976N2-9ohJiLMQo4S8i4ezAnFXQWQTtmzgvCPFdA@mail.gmail.com' \
--to=v.plechinger@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).