call for Emacs testers (and opinion) native support of hg ci -i

Uwe Brauer oub at mat.ucm.es
Sun Oct 16 12:47:26 UTC 2022


Hi Georges

Great that a developer is interested, sorry for the delay.

> Hi Uwe,
> On 10/10/2022 22:17, Uwe Brauer wrote:

> Sounds really great.

> This is interesting and I'd be happy to test it, if I get the time
> (that is the hard part as you can imagine). Such a feature could even
> get me to actually use `vc-hg`, especially if we can get the variant
> for `hg amend -i`.

And hg shelve -i  !

> Can you please clarify this last point? Do you mean that the working
> directory parent is not the changeset that has just been created, or
> is that a matter of bookmarks?

Ok, I will prepare an example



> Believe it or not, I've never compiled Emacs that I can remember.
> Could you please point me to quick instructions to compile it in text
> mode only, like `emacs -nw` does ? I suppose it's much simpler and
> faster, as GUI dependencies tend to be terrible, and it will be remind
> me of VTs time ;-)

on which system are you? Linux/Mac/Windows/BSD?
Because the configuration depends very much on the OS.

Suppose you are on Linux.


Then, unfortunately[1] 
1) git clone git://git.savannah.gnu.org/emacs.git
2) cd emacs
3) ./autogen.sh
4) ./configure --without-x
5) make bootstrap
6) make

Now you could change cd src and run ./.emacs

But I am not sure that this is just a good idea. If you run 
- make install

Emacs is installed in the default directory for linux, which is /usr/local
I prefer to run 
- ./configure --prefix=/opt/emacs29

Well actually 

./configure --prefix=/opt/emacs29 --with-x-toolkit=athena --without-pop --with-mailutils

A word on installation and de-installation, if you are on a Ubuntu/Debian flavored Linux then 

I recommend to install auto-apt (it was removed in later ubuntu versions
for the lack of maintaince but it still can be installed and used. I can
send it to you and the run instead of the configure command

auto-apt run ./configure --prefix=/opt/emacs29 --with-x-toolkit=athena --without-pop --with-mailutils

Then install checkinstall

 sudo apt-get install checkinstall

And instead of running 

 sudo  make install 

Your run 

 sudo checkinstall

The benefit is that a debian package is generated and installed so deinstallation works nicely.

Please tell me if you have further questions

Uwe 


Footnotes:
[1] for speed reasons, or if you have a super fast machine you might try
     out hg clone git://git.savannah.gnu.org/emacs.git

-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20221016/684084f7/attachment.p7s>


More information about the Mercurial-devel mailing list