[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulat
From: |
Tino Calancha |
Subject: |
Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation |
Date: |
Sun, 25 Dec 2016 18:48:00 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Dima Kogan <address@hidden> writes:
> Tino Calancha <address@hidden> writes:
>
>> Hi Dima,
>> after commit 2c8a7e5 the following receipt doesn't work:
>>
>> M-! git show HEAD RET
>> C-x o
>> C-x C-q
>> M-x diff-mode RET
>> n
>> ;; Signal error:
>> diff-beginning-of-file-and-junk: Can t find the beginning of the file
>>
>> I use above code very often: before commit 2c8a7e5, it skips the commit
>> message and jumps to the first hunk.
>> Is it possible to make above snippet working as before?
>
> Hi. I pushed to master the fix to this and the logic to invoke the
> auto-refinement only if the preceding motion was successful.
Thank you.
I think is not working as before.
Consider following snippet code:
M-! git show SHA1 RET
C-x b *Shell Command Output* RET
C-x C-q
M-x diff-mode
n
When i use as SHA1
e5ef59b87da5c2ddfa22f7342efe29b3eea6ed97
previous commands successfully move point to next hunk.
But if i use commit
6b6abe0dba6a9a2e5f78aac3814421886e7a184f
then they don't work; i got the following error:
user-error: No next hunk
I am wondering why the second commit behaves differently than
the first one.
Regards,
Tino
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, (continued)
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Dima Kogan, 2016/12/07
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Dima Kogan, 2016/12/09
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Dmitry Gutov, 2016/12/10
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Dima Kogan, 2016/12/10
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Dmitry Gutov, 2016/12/11
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Dima Kogan, 2016/12/12
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Dmitry Gutov, 2016/12/15
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Tino Calancha, 2016/12/19
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Dima Kogan, 2016/12/20
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Dima Kogan, 2016/12/25
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation,
Tino Calancha <=
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Tino Calancha, 2016/12/25
- Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation, Dmitry Gutov, 2016/12/25