From: Paul Smith <psmith@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Mode for editing patches?
Date: Mon, 27 Jan 2014 15:26:18 -0500 [thread overview]
Message-ID: <1390854378.28742.92.camel@pdsdesk> (raw)
So, I used to (in a previous incarnation of my development environment)
be able to edit a patch file and do things like add or remove lines from
the patch file, and Emacs would automatically update the unified diff
header info (lines add/removed, etc.)
I don't remember installing or configuring anything special to get this
behavior, but I must have because in my current environment when I visit
patch files I get normal "Diff" mode, which has nice font-locking but no
support for inline editing of the diff (as far as I can tell).
I'm sure I didn't imagine this. Can someone suggest what I used to use,
or what I'd configured before, that I cannot remember now?
I'm using Emacs 24.3.1 on GNU/Linux.
next reply other threads:[~2014-01-27 20:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-27 20:26 Paul Smith [this message]
2014-01-27 23:43 ` Mode for editing patches? Stefan Monnier
[not found] <mailman.12980.1390854399.10748.help-gnu-emacs@gnu.org>
2014-01-27 21:23 ` Damien Wyart
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=1390854378.28742.92.camel@pdsdesk \
--to=psmith@gnu.org \
--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).