[PATCH 2 of 2 default] histedit: edit with custom filename

Mykola Nikishov mn at mn.com.ua
Wed Dec 2 09:55:01 CST 2015


Augie Fackler <raf at durin42.com> writes:

> On Tue, Dec 01, 2015 at 08:15:59AM +0200, Mykola Nikishov wrote:
>> # HG changeset patch
>> # User Mykola Nikishov <mn at mn.com.ua>
>> # Date 1448120426 -7200
>> #      Sat Nov 21 17:40:26 2015 +0200
>> # Node ID 3d8c7e86aebbfeffa4110db777254d5c0505fd56
>> # Parent  66cd5f930a40b3ea2a53e75600e9ffc18f093ce4
>> histedit: edit with custom filename
>
> Very nice, queued these, thanks!

Thank you for feedback!

>> For instance, Emacs allows to open file with special features enabled
>> (AKA mode) based on the path/name of the file [1]. For such cases,
>> use 'hg-histedit-XXX.txt' as filename pattern.
>>
>> [1] https://www.gnu.org/software/emacs/manual/html_node/emacs/Choosing-Modes.html
>
> As an emacs user I must know: are you working on a neat hg-related
> mode for emacs?

No, I'm Java dev and not Lisper, so just trying to tweak my environment
a little [1]. For now, the idea is to implement the same rebase workflow
as Magit does [2] by reusing existing pieces [3].

[1] https://github.com/manandbytes/.emacs.d/commit/c15985092d2615e96c09582266e15164630023bc
[2] https://github.com/magit/magit
[3] https://github.com/magit/git-modes/issues/117


More information about the Mercurial-devel mailing list