From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: TODO [was Re: Looking for a new Emacs maintainer or team] Date: Tue, 26 Feb 2008 10:13:13 -0800 Message-ID: <200802261813.m1QIDEku015891@sallyv1.ics.uci.edu> References: <5E2DA7EF-D0F1-4B0C-A3DC-F0B64FE2FE00@gmail.com> <13170DB6-B7A1-4843-AAF5-AB68B65D2331@gmail.com> <18370.18434.78349.822958@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204049706 9337 80.91.229.12 (26 Feb 2008 18:15:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2008 18:15:06 +0000 (UTC) Cc: Nick Roberts , "rms@gnu.org" , emacs-devel@gnu.org To: mail.vjrao@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 26 19:15:27 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JU4Kh-0003NS-Up for ged-emacs-devel@m.gmane.org; Tue, 26 Feb 2008 19:15:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JU4KB-0007wW-QB for ged-emacs-devel@m.gmane.org; Tue, 26 Feb 2008 13:14:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JU4JH-0007bB-97 for emacs-devel@gnu.org; Tue, 26 Feb 2008 13:13:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JU4JF-0007ZA-M1 for emacs-devel@gnu.org; Tue, 26 Feb 2008 13:13:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JU4JF-0007Z0-HE for emacs-devel@gnu.org; Tue, 26 Feb 2008 13:13:45 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JU4JB-0002Gg-LL; Tue, 26 Feb 2008 13:13:42 -0500 X-ICS-MailScanner-Watermark: 1204654395.74528@u+HmNkEqglSOpRkLNeZLFQ Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1QIDEku015891; Tue, 26 Feb 2008 10:13:14 -0800 (PST) In-Reply-To: (V. Rao's message of "Tue, 26 Feb 2008 10:33:24 -0500") Original-Lines: 51 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.34, required 5, autolearn=disabled, ALL_TRUSTED -1.44, FM_MULTI_ODD2 1.10) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90517 Archived-At: "V.Rao" writes: > Please let me know if anyone is already working on one of these tasks. > > ** make emacsclient accept -nw as a synonym to -t. > > ** Replace some uses of the preprocessor code in Makefile.in with the > equivalent autoconf. > > ** Make "emacs --daemon" start emacs without showing any frame. > Use emacsclient later to open frames. AFAIK nobody has publicly announced that is working on any of these. Do you have a copyright assignment on file? If not, it would make sense to get started on that as soon as possible, so that it is ready by the time you finish writing the code. > ** Make vc-checkin avoid reverting the buffer if has not changed after > the checkin. Comparing (md5 BUFFER) to (md5 FILE) should be enough. I have a patch for this one. But it needs a few more eyes on it from people that know the code involved very well to make sure it is correct and the right thing to do. The patch itself is not too complicated. --- vc.el 10 Oct 2007 10:34:53 -0700 1.464 +++ vc.el 11 Oct 2007 12:18:02 -0700 @@ -1328,7 +1327,19 @@ (save-excursion ;; t means don't call normal-mode; ;; that's to preserve various minor modes. - (revert-buffer arg no-confirm t)) + (if (string= + (with-temp-buffer + ;; Insert the file on disk in a temporary buffer and compute the md5 there. + (let ((coding-system-for-read 'binary)) + (insert-file-contents file) + (md5 (current-buffer)))) + (md5 (current-buffer))) ;; md5 for the current buffer + (let ((writable (file-writable-p (buffer-file-name)))) ;; Try to set the read-only state. + (unless (eq buffer-read-only writable) + (setq buffer-read-only writable)) + (message "not reverting")) + (message "reverting :-(") + (revert-buffer arg no-confirm t))) (vc-restore-buffer-context context))) (defun vc-buffer-sync (&optional not-urgent)