From: Lars Ingebrigtsen <larsi@gnus.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 2739@debbugs.gnu.org
Subject: bug#2739: diff-mode should highlight "diff:" messages
Date: Fri, 21 Aug 2020 15:46:00 +0200 [thread overview]
Message-ID: <87blj43yef.fsf@gnus.org> (raw)
In-Reply-To: <87d03kktri.5.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Fri, 21 Aug 2020 21:34:09 +0800")
積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
> LI> Do you have a test case to reproduce this bug?
>
> lrwxrwxrwx 1 jidanni 4 08-21 21:31 pppp -> zzzz
> lrwxrwxrwx 1 jidanni 4 08-21 21:30 yyyyy -> ssss
>
> = runs the command dired-diff (found in dired-mode-map)
>
> diff -U0 /home/jidanni/pppp /home/jidanni/yyyyy
> diff: /home/jidanni/pppp: No such file or directory
> diff: /home/jidanni/yyyyy: No such file or directory
>
> Diff finished (diff error). Fri Aug 21 21:31:28 2020
>
> So the errors should be in red.
Thanks. The base function called here is apparently:
(diff "/tmp/unexist1" "/tmp/unexist2" "-u")
Which displays the problem. It looks like diff picks up on it being an
error, but doesn't do any fontizing in this case. Which I guess should
be set up from 'diff-sentinel'.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2020-08-21 13:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-21 17:46 bug#2739: diff-mode should highlight "diff:" messages jidanni
2020-08-20 18:55 ` Lars Ingebrigtsen
2020-08-21 13:34 ` 積丹尼 Dan Jacobson
2020-08-21 13:46 ` Lars Ingebrigtsen [this message]
2020-08-21 13:59 ` Lars Ingebrigtsen
2020-08-21 14:30 ` 積丹尼 Dan Jacobson
2020-08-21 15:35 ` Andreas Schwab
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=87blj43yef.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=2739@debbugs.gnu.org \
--cc=jidanni@jidanni.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).