Re: time to retire ChangeLog?

Sam Steingold <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <m18tovtraf.fsf@clr-sds>
> * Bruno Haible <[email protected]> [2017-02-24 18:19:56 +0100]:
>
> Sam wrote:
>> NO! hg log message is the WHOLE ChangeLog entry.
>> ...
>> Or, as a first baby step, put the full message in BOTH.
>
> If you can tell me an Emacs customization that makes this effortless,
> through a single copy-and-paste from ChangeLog, then I'm willing to do
> it.  That is, when hg opens an "emacs -nw" editor, I want to

This is how you use VIM, not Emacs.

With Emacs, after I finish with the patch, I do `C-x v d` to get the
*vc-dir* buffer which lists the modified files in the hg-controlled
directory.
There I select with `m` the files to be committed.
Then I hit `C-x v v` and I am placed into the *vc-log* buffer with the
ChangeLog entry already there and properly formatted as you describe
(with the summary line, separator line, no TABs &c &c)

> copy&paste the tab-indented entry, and Emacs should remove the leading
> tab and insert a blank line after the first line.

Well, you can remove the leading tabs with M-% TAB RET RET.

> If I need to spend time reindenting each line of the entry, I'm not
> agreeing.

You need to start using Emacs like it was intended to be used, not fight
against the stream.
You will like it.

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
http://steingoldpsychology.com http://www.childpsy.net
http://iris.org.il http://memri.org http://mideasttruth.com http://camera.org
Rhinoceros has poor vision, but, due to his size, it's not his problem.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.