From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: vc-checkin (RCS) always. Problem with vc-checkin Date: Mon, 19 Oct 2015 00:03:03 +0200 Message-ID: <87fv177s2w.fsf@zigzag.favinet> References: <878u8jv076.fsf@mat.ucm.es> <20150907.054904.784776305561903593.devel@pollock-nageoire.net> <87mvwyufhf.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1445207670 9348 80.91.229.3 (18 Oct 2015 22:34:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Oct 2015 22:34:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 00:34:26 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZnwX3-0003TI-Q4 for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Oct 2015 00:34:25 +0200 Original-Received: from localhost ([::1]:35725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnwX2-0003ya-ER for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Oct 2015 18:34:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnwWo-0003yQ-1O for help-gnu-emacs@gnu.org; Sun, 18 Oct 2015 18:34:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZnwWk-0005r8-Rq for help-gnu-emacs@gnu.org; Sun, 18 Oct 2015 18:34:09 -0400 Original-Received: from mail.agora-net.com ([67.59.132.6]:60137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnwWk-0005qv-Mw for help-gnu-emacs@gnu.org; Sun, 18 Oct 2015 18:34:06 -0400 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.82) (envelope-from ) id 1ZnwWk-0001WT-2j for help-gnu-emacs@gnu.org; Sun, 18 Oct 2015 18:34:06 -0400 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1Znw2p-0007IP-8v for help-gnu-emacs@gnu.org; Mon, 19 Oct 2015 00:03:11 +0200 In-Reply-To: <87mvwyufhf.fsf@mat.ucm.es> (Uwe Brauer's message of "Mon, 07 Sep 2015 20:44:12 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ttn@gnuvola.org X-SA-Exim-Scanned: No (on mail.agora-net.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 67.59.132.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107745 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Uwe Brauer () Mon, 07 Sep 2015 20:44:12 +0000 > (vc-call-backend 'RCS 'checkin (list (buffer-file-name)) "") Hm it does not work work me. In a file which is under version control I used eval-last-sexp for (vc-call-backend 'RCS 'checkin (list (buffer-file-name)) "") and I obtained: the following error message ci: missing message for -m option In lisp/vc/vc.el, the generic =E2=80=98checkin=E2=80=99 signature is docume= nted as (reproduced here): checkin (files rev comment) Commit changes in FILES to this backend. REV is a historical artifact and should be ignored. COMMENT is used as a check-in comment. The implementation should pass the value of vc-checkin-switches to the backend command. (If you don't have Emacs Lisp installed as part of the Emacs installation, stop reading, obtain that, then return here.) Thus, the above invocation receives the parms: FILES -- (list (buffer-file-name)) REV -- "" and COMMENT is unspecified. Another approach, a bit higher in abstraction, would be to use =E2=80=98vc-rcs-checkin=E2=80=99 directly. Its docstring in my old (2014-01-01) copy is not so useful, but the *Help* buffer produced by =E2=80=98C-h f vc-rcs-checkin RET=E2=80=99 shows = the same signature described above; you can probably figure it out. =2D-=20 Thien-Thi Nguyen ----------------------------------------------- (if you're human and you know it) read my lisp: (defun responsep (type via) (case type (technical (eq 'mailing-list via)) ...)) =2D--------------------------------------------- GPG key: 4C807502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlYkFxkACgkQZwMiJEyAdQIe5ACg4/Ug5p+qMRAmUtdwlcSxqoOo GU0AoJMiuuuE4IHohy/Lnt0tI7RKelYw =cAbj -----END PGP SIGNATURE----- --=-=-=--