From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 22.1.90; desktop-save throws (error "No buffer named ") Date: Fri, 08 Feb 2008 13:30:35 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202495472 26970 80.91.229.12 (8 Feb 2008 18:31:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2008 18:31:12 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Martin Fischer To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 19:31:33 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 1JNY0O-0006pL-DS for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2008 19:31:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNXzv-0005hz-HY for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2008 13:30:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNXzq-0005eo-SW for emacs-devel@gnu.org; Fri, 08 Feb 2008 13:30:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNXzn-0005e3-Ll for emacs-devel@gnu.org; Fri, 08 Feb 2008 13:30:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNXzn-0005e0-Fv for emacs-devel@gnu.org; Fri, 08 Feb 2008 13:30:43 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNXzn-0007Ao-G4 for emacs-devel@gnu.org; Fri, 08 Feb 2008 13:30:43 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JNXzm-0005PN-Un for emacs-pretest-bug@gnu.org; Fri, 08 Feb 2008 13:30:43 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JNXzj-00079n-Lf for emacs-pretest-bug@gnu.org; Fri, 08 Feb 2008 13:30:42 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNXzj-00079Q-6G for emacs-pretest-bug@gnu.org; Fri, 08 Feb 2008 13:30:39 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAP8trEfO+JwNdGdsb2JhbACQNQEwnAJ7 X-IronPort-AV: E=Sophos;i="4.25,322,1199682000"; d="scan'208";a="13905251" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 08 Feb 2008 13:30:36 -0500 Original-Received: from pastel.home ([206.248.156.13]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id OUM34336; Fri, 08 Feb 2008 13:30:36 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 8B1908019; Fri, 8 Feb 2008 13:30:35 -0500 (EST) In-Reply-To: (Juanma Barranquero's message of "Fri, 8 Feb 2008 17:59:24 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:88536 gmane.emacs.pretest.bugs:20955 Archived-At: > + ;; base name of the buffer; replaces the buffer name if managed by uniquify > + (and (bound-and-true-p uniquify-managed) > + (uniquify-item-base (car uniquify-managed))) > ;; basic information > (desktop-file-name (buffer-file-name) desktop-dirname) > - (if (bound-and-true-p uniquify-managed) > - (uniquify-item-base (car uniquify-managed)) > - (buffer-name)) > + (buffer-name) > major-mode > ;; minor modes Yuck! Could you explain what is the problem, so we can try and find a cleaner workaround? Stefan