unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: vc-toggle-read-only mishandles CVS ro file in presence of CVSREAD=1
Date: Wed, 25 Jun 2008 11:35:04 +0200	[thread overview]
Message-ID: <87prq5yi0n.fsf@ambire.localdomain> (raw)
In-Reply-To: <buo4p7i6pq7.fsf@dhapc248.dev.necel.com> (Miles Bader's message of "Wed, 25 Jun 2008 14:36:00 +0900")

() Miles Bader <miles.bader@necel.com>
() Wed, 25 Jun 2008 14:36:00 +0900

   I say we just get rid of it and good riddance.

If/when we do that, many people's ~/.emacs will grow a
(unless (fboundp 'vc-toggle-read-only)
  (global-set-key
   "\C-x\C-q"
   (defun vc-toggle-read-only () "Damn Emacs 23!" (interactive)
     (if (or (and (boundp 'vc-dired-mode) vc-dired-mode)
             ;; use boundp because vc.el might not be loaded
             (vc-backend buffer-file-name))
         (vc-next-action nil)
       (toggle-read-only)))))

which will worm its way onto emacswiki DamnEmacs23, somehow.

But i'm ok w/ that (my ~/.emacs is already fortified :-D).

thi




  reply	other threads:[~2008-06-25  9:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25  5:04 vc-toggle-read-only mishandles CVS ro file in presence of CVSREAD=1 Thien-Thi Nguyen
2008-06-25  5:36 ` Miles Bader
2008-06-25  9:35   ` Thien-Thi Nguyen [this message]
2008-06-25 14:10     ` Miles Bader
2008-06-25 14:40       ` Thien-Thi Nguyen
2008-07-23 10:02         ` Thien-Thi Nguyen
2008-06-25 15:48       ` Stefan Monnier
2008-06-25 16:27         ` Thien-Thi Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87prq5yi0n.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).