unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10709: Feature request: vc-hg should activate smerge-mode for conflicts
@ 2012-02-03 16:30 Wolfgang Schnerring
  2012-02-03 17:04 ` Glenn Morris
  2012-12-01  1:12 ` Glenn Morris
  0 siblings, 2 replies; 11+ messages in thread
From: Wolfgang Schnerring @ 2012-02-03 16:30 UTC (permalink / raw)
  To: 10709

[-- Attachment #1: Type: text/plain, Size: 725 bytes --]

Hello,

vc-svn has the useful behaviour (via vc-svn-find-file-hook) that when
you visit a file with conflicts, it drops you into smerge-mode, and
automatically marks the file as resolved once you've removed all
conflict markers. This makes for a very seamless editing experience. :-)

It would be nice if vc-hg did the same. I guess most of the behaviour
can be lifted straight from vc-svn, however I didn't find anything to
suggest that vc-hg talks to "hg resolve -l" at the moment, which is
needed to find out whether the current file is conflicted. So I guess
that would be the starting point.

My elisp is rather weak, so I probably won't be of much help here, but
do let me know if there's something I can do.

Wolfgang

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-12-05  1:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-03 16:30 bug#10709: Feature request: vc-hg should activate smerge-mode for conflicts Wolfgang Schnerring
2012-02-03 17:04 ` Glenn Morris
2012-02-03 17:11   ` Glenn Morris
2012-02-03 18:27     ` Wolfgang Schnerring
2012-02-03 19:32       ` Stefan Monnier
2012-02-04  9:46         ` Wolfgang Schnerring
2012-02-06 13:27           ` Stefan Monnier
2012-02-03 18:43   ` Stefan Monnier
2012-12-01  1:12 ` Glenn Morris
2012-12-01  4:42   ` Stefan Monnier
2012-12-05  1:53     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).