From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mirko" Newsgroups: gmane.emacs.help Subject: Re: yasq: unable to edebug-defun Date: 15 Dec 2006 11:01:08 -0800 Organization: http://groups.google.com Message-ID: <1166209268.881749.8200@l12g2000cwl.googlegroups.com> References: <1166128326.307683.186800@n67g2000cwd.googlegroups.com> <1166188617.839990.291590@j72g2000cwa.googlegroups.com> <1166198144.214233.78100@73g2000cwn.googlegroups.com> <1166201256.184773.18940@t46g2000cwa.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1166211750 24843 80.91.229.10 (15 Dec 2006 19:42:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 19:42:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 15 20:42:29 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GvIwv-0005WL-Ba for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 20:42:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvIwu-00010T-QI for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 14:42:28 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l12g2000cwl.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 208.218.238.20 Original-X-Trace: posting.google.com 1166209274 26034 127.0.0.1 (15 Dec 2006 19:01:14 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 15 Dec 2006 19:01:14 +0000 (UTC) In-Reply-To: <1166201256.184773.18940@t46g2000cwa.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: l12g2000cwl.googlegroups.com; posting-host=208.218.238.20; posting-account=zJ4b2Q0AAAB5wLprz3WGnkfVsRyuZtK0 Original-Xref: shelby.stanford.edu gnu.emacs.help:144000 Original-To: help-gnu-emacs@gnu.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: news.gmane.org gmane.emacs.help:39602 Archived-At: Robert Thorpe wrote: > Mirko wrote: > > Robert Thorpe wrote: > > > Mirko wrote: > > > (defun map-to-buffer (map buffer) > > (interactive) > > (switch-to-buffer buffer) > > (save-excursion > > (save-window-excursion > > (save-match-data > > (widen) > > (goto-char (point-min)) > > (insert "\\begin{document}\n" > > (dump-map map) > > (goto-char (point-max)) > > (insert "\n\\end{document") > > (indent-region (point-min) (point-max) nil) > > ))))) > > This sounds like a bug to me. I'm using Emacs21 which doesn't have > dump-map, so I can't test your code, but the variable map certainly > doesn't look void. Eval-defun(M-C-x) and Eval-last-sexp(C-xC-e) > shouldn't behave differently here. Well, with your authoritative opinion,I will send this bug to emacs developers. Next year. Today is my last day before my vacation. Thanks for your help and best wishes, Mirko