help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: title function for boxquote


From: Sebastian Luque
Subject: Re: title function for boxquote
Date: Sun, 30 Jan 2005 18:49:38 -0600
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

On Sun, 30 Jan 2005 16:19:15 -0600, Sebastian Luque <sluque@mun.ca> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]