From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: A few questions about desktop.el Date: Wed, 10 Aug 2005 13:24:25 +0200 Message-ID: References: <42F9CDEA.3070302@soem.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1123673377 6359 80.91.229.2 (10 Aug 2005 11:29:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2005 11:29:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 10 13:29:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2olA-0003UM-Pn for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2005 13:28:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2olp-00085V-1D for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2005 07:29:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E2okc-000844-C0 for emacs-devel@gnu.org; Wed, 10 Aug 2005 07:28:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E2okZ-000839-HJ for emacs-devel@gnu.org; Wed, 10 Aug 2005 07:28:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2okX-00082X-Tq for emacs-devel@gnu.org; Wed, 10 Aug 2005 07:27:58 -0400 Original-Received: from [64.233.182.206] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E2ovG-0001rY-Vh for emacs-devel@gnu.org; Wed, 10 Aug 2005 07:39:03 -0400 Original-Received: by nproxy.gmail.com with SMTP id h2so25537nfe for ; Wed, 10 Aug 2005 04:24:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KpmMr+/pVK83ABvE1QRNb0feGlNX/B8FXgrxtxSp+mrdDJ2fP3cIyDWqbUH8aAc9W0kycfL2S4LEhX3eNTxWSHX+GD0pqdp3sxtnLAzR/JdFKnQT1Vl6tY0xhZ0FvxZpBUGARVa922fujt7onWJ1ObvYz2dHg4X8Xbqv5Qi32T8= Original-Received: by 10.48.144.1 with SMTP id r1mr18850nfd; Wed, 10 Aug 2005 04:24:25 -0700 (PDT) Original-Received: by 10.48.250.5 with HTTP; Wed, 10 Aug 2005 04:24:25 -0700 (PDT) Original-To: Lars Hansen In-Reply-To: <42F9CDEA.3070302@soem.dk> Content-Disposition: inline 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:41856 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41856 On 8/10/05, Lars Hansen wrote: > Shall I install the attached patch? You got my vote. I've been testing it and everything seems to work, even the corner cases of `highlight-changes-mode'. BTW, another package that would benefit from special treatment is bs.el, in particular the variable `bs-buffer-show-mark'. I usually have documents loaded (like my TODO) that I mark as "never to be shown". On restoring the desktop they should stay so. Adding the variable to the locals-to-save list is easy enough, of course. The only (very minor) problem is, if the only buffer you have is marked as 'never, after restoring the desktop the file is shown. It should instead show the default *scratch*, I think. I'm not sure whether this can be fixed with a support function in bs, though. Properly speaking, bs is not a minor mode, and in fact the "*buffer-selection*" buffer is not being restored... --=20 /L/e/k/t/u