From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Problems with the url package on w32? Date: Wed, 20 Dec 2006 05:52:03 -0500 Message-ID: References: <87lkltztzy.fsf@freemail.hu> <871wniv89d.fsf@freemail.hu> <87wt5825wh.fsf@freemail.hu> <45887987.3040105@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: dough.gmane.org X-Trace: sea.gmane.org 1166612339 6829 80.91.229.10 (20 Dec 2006 10:58:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2006 10:58:59 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 20 11:58:58 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gwz9t-0006Bl-JL for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 11:58:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gwz9t-0001E9-3S for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 05:58:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gwz3P-0005h1-Be for emacs-devel@gnu.org; Wed, 20 Dec 2006 05:52:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gwz3N-0005g6-GQ for emacs-devel@gnu.org; Wed, 20 Dec 2006 05:52:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gwz3M-0005fJ-KD for emacs-devel@gnu.org; Wed, 20 Dec 2006 05:52:04 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gwz3M-0003VA-96 for emacs-devel@gnu.org; Wed, 20 Dec 2006 05:52:04 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Gwz3L-00044S-6Y; Wed, 20 Dec 2006 05:52:03 -0500 Original-To: "Juanma Barranquero" In-reply-to: (lekktu@gmail.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63984 Archived-At: > Date: Wed, 20 Dec 2006 10:07:15 +0100 > From: "Juanma Barranquero" > Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org > > I don't use ediff either. I was talking of cutting a patch from an > e-mail, for example, pasting it into a buffer, M-x diff-mode'ing and > doing C-c C-a. Too complicated, IMHO, and also could produce problems on w32 (due to CRLF nuisance in conjunction with the ported Patch's inability to DTRT when there's EOL mismatch between the patched file and the patch). What I do is simpler: set the region around the diffs in the email buffer, and then type these commands: C-x RET c unix RET M-| patch -d /path/to/emacs/directory -p0 --binary (Depending on the exact form of file names in the diffs, the argument to the -d switch and/or the level given to -p may need to be different.) This works reliably for me, and if the diffs were munged by email, I get a failure message in the minibuffer and a .rej file left to be handled manually. > > Never had such problems with my method, since the shell command output > > is displayed by M-|. > > That only means that you method works, not that diff-mode or ediff > don't have a problem :-) I was replying to your message where you seemed to imply that running Patch from within Emacs is inherently unstable or unreliable.