From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Smith Newsgroups: gmane.emacs.help Subject: Mode for editing patches? Date: Mon, 27 Jan 2014 15:26:18 -0500 Organization: GNU's Not UNIX! Message-ID: <1390854378.28742.92.camel@pdsdesk> Reply-To: psmith@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1390854402 31329 80.91.229.3 (27 Jan 2014 20:26:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jan 2014 20:26:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 27 21:26:50 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W7slc-0005FJ-63 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jan 2014 21:26:48 +0100 Original-Received: from localhost ([::1]:33512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7slb-0004mC-GK for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jan 2014 15:26:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7slJ-0004lB-Q8 for help-gnu-emacs@gnu.org; Mon, 27 Jan 2014 15:26:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7slB-0001NR-Co for help-gnu-emacs@gnu.org; Mon, 27 Jan 2014 15:26:29 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7slB-0001NM-9k for help-gnu-emacs@gnu.org; Mon, 27 Jan 2014 15:26:21 -0500 Original-Received: from 173-9-45-73-newengland.hfc.comcastbusiness.net ([173.9.45.73]:33154 helo=[10.1.37.145]) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1W7slA-0001MJ-EC for help-gnu-emacs@gnu.org; Mon, 27 Jan 2014 15:26:21 -0500 X-Mailer: Evolution 3.6.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95710 Archived-At: 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.