auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add filename to tag for catchfilebetweentags


From: Uwe Brauer
Subject: Re: add filename to tag for catchfilebetweentags
Date: Fri, 16 Dec 2022 17:42:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "AE" == Arash Esbati <arash@gnu.org> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>> I checked: the command should be 
>> 
>> git apply --patch-format=hg ../catchfilebetweentag-file-name.patch

> I think you mean

>   git am --patch-format=hg ../catchfilebetweentag-file-name.patch

> ?  I don't see git-patch having this option.

Hm this is what Tassilo told me, well a couple of years ago, so maybe this has 
changed.

>> Nevertheless I did this 
>> 
>> I took into account all your remarks.
>> See the attached patch below

> This is what I see:

   -> git am --patch-format=hg catchfilebetweentags-filename.patch
>   Applying: Add filename as a prefix to the counter for catchfilebetweentags
>   error: patch failed: style/catchfilebetweentags.el:65
>   error: style/catchfilebetweentags.el: patch does not apply
>   Patch failed at 0001 Add filename as a prefix to the counter for 
> catchfilebetweentags
>   hint: Use 'git am --show-current-patch=diff' to see the failed patch
>   When you have resolved this problem, run "git am --continue".
>   If you prefer to skip this patch, run "git am --skip" instead.
>   To restore the original branch and stop patching, run "git am --abort".


that is strange,


> Can you please send a patch which applies to the latest AUCTeX git repo?

Ok,  fortunately I have now a relative recent git
version install (2.38.1) this should work flawlessly otherwise I have to
file a but to the hg maintainers. I will test it myself, not sure how
git works whether I have later to strip or to stash the applied patch.
Anyway I figure out, if not I follow this great advice 😉

 

Attachment: git.png
Description: PNG image

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]