From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sebastian Luque Newsgroups: gmane.emacs.help Subject: Re: title function for boxquote Date: Sun, 30 Jan 2005 18:49:38 -0600 Message-ID: <874qgy1kyl.fsf@mun.ca> References: <878y6ay2zg.fsf@mun.ca> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1107132717 23108 80.91.229.6 (31 Jan 2005 00:51:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2005 00:51:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 31 01:51:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CvPnC-00088q-00 for ; Mon, 31 Jan 2005 01:51:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvPzo-0000e2-U9 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Jan 2005 20:04:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CvPv5-0007FM-6l for help-gnu-emacs@gnu.org; Sun, 30 Jan 2005 19:59:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CvPul-000748-Nc for help-gnu-emacs@gnu.org; Sun, 30 Jan 2005 19:59:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvPul-00073U-Gg for help-gnu-emacs@gnu.org; Sun, 30 Jan 2005 19:59:39 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CvPg7-0003EQ-MW for help-gnu-emacs@gnu.org; Sun, 30 Jan 2005 19:44:31 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1CvPfy-0000ku-Cu for help-gnu-emacs@gnu.org; Mon, 31 Jan 2005 01:44:22 +0100 Original-Received: from s0106000ae61de208.wp.shawcable.net ([24.77.59.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Jan 2005 01:44:22 +0100 Original-Received: from sluque by s0106000ae61de208.wp.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Jan 2005 01:44:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s0106000ae61de208.wp.shawcable.net User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:Q7Lxel0+zrzLtftjeKW+UV1+Gt4= X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: geh-help-gnu-emacs@m.gmane.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23765 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23765 On Sun, 30 Jan 2005 16:19:15 -0600, Sebastian Luque wrote: [...] > What's wrong with this picture? Thanks in advance. Some debugging later...I got it: ,-----[ .emacs -- Lines: 277 - 288 ] | (setq boxquote-kill-ring-save-title | (lambda () | (let ((from-line (count-lines (point-min) (mark))) | (to-line (count-lines (point-min) (point)))) | (setq my-title | (concat (buffer-name) | " -- Lines: " | (number-to-string from-line) | " - " | (number-to-string to-line))) | my-title))) `----- if anybody is interested. -- Best wishes, Sebastian