From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daimrod Newsgroups: gmane.emacs.bugs Subject: bug#17746: [O] bug#17746: 24.4.50; "byte-code: `recenter'ing a window that does not display current-buffer." when composing a message Date: Thu, 12 Jun 2014 13:10:46 +0900 Message-ID: <87lht2vkc9.fsf@tanger.home> References: <837g4o1x3r.fsf@gnu.org> <87r42vlavi.fsf@geodiff-mac3.ulb.ac.be> <87ha3rxx79.fsf@bzg.ath.cx> <87ppifudvd.fsf@tanger.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402546359 21968 80.91.229.3 (12 Jun 2014 04:12:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2014 04:12:39 +0000 (UTC) Cc: Bastien , Nicolas Richard , 17746@debbugs.gnu.org, David Griffiths To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 12 06:12:31 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WuwNL-00014e-8q for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Jun 2014 06:12:31 +0200 Original-Received: from localhost ([::1]:50453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuwNK-000629-9q for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Jun 2014 00:12:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuwNB-0005tX-18 for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 00:12:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuwN4-00018H-RQ for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 00:12:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuwMs-00014i-Nn; Thu, 12 Jun 2014 00:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WuwMs-0008JO-2j; Thu, 12 Jun 2014 00:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daimrod Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Thu, 12 Jun 2014 04:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17746 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 17746-submit@debbugs.gnu.org id=B17746.140254626431855 (code B ref 17746); Thu, 12 Jun 2014 04:12:02 +0000 Original-Received: (at 17746) by debbugs.gnu.org; 12 Jun 2014 04:11:04 +0000 Original-Received: from localhost ([127.0.0.1]:44764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WuwLu-0008Hi-Ss for submit@debbugs.gnu.org; Thu, 12 Jun 2014 00:11:03 -0400 Original-Received: from mail-pb0-f53.google.com ([209.85.160.53]:56307) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WuwLr-0008H6-7S for 17746@debbugs.gnu.org; Thu, 12 Jun 2014 00:11:00 -0400 Original-Received: by mail-pb0-f53.google.com with SMTP id uo5so286362pbc.12 for <17746@debbugs.gnu.org>; Wed, 11 Jun 2014 21:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=w9N9wx5YKrHNjN4e9cRvB5x4qCwCWiY1JhZhjSNpRLA=; b=yToZyRMChxTNRrz+XN8FpetaR3+2BjpzUGI20rpOOn1bh0EwgkaZISTk1zu1MGBKEG WxztkCy5iih081+n+BthFnTLPT6jN6HzNme3uEd+A3T/pIDn4uNes/hjeA7NGw76nk3w d3ql+bPgAxfPOLvs3DYcCy1gL1cdYtuL8zwmED88B7RyUPKyfVdZ+u8qFaY3RWMzHfF7 weJGZour9Y0ZOOOAZLbvCWJtTTEJsed77JGwpuK8VxbluC0S/wlNvidT91Thx9snqM1M 6dsH8aQDK73EXrDKGfE7NTNLWbkkDYAeGFAKccKS8G9NHnLtOpudtUKb5xUTpNyXyZEn FXFg== X-Received: by 10.66.246.229 with SMTP id xz5mr18189196pac.119.1402546252798; Wed, 11 Jun 2014 21:10:52 -0700 (PDT) Original-Received: from localhost ([150.100.253.2]) by mx.google.com with ESMTPSA id fx5sm77742019pbb.62.2014.06.11.21.10.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jun 2014 21:10:51 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Wed, 11 Jun 2014 22:44:18 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90282 Archived-At: Stefan Monnier writes: >> +(defun org-recenter (&optional arg) >> + "Like `recenter' but ensure that the `current-buffer' is >> +properly set." >> + (with-current-buffer (window-buffer) >> + (recenter arg))) > > This doesn't make much sense: in many case (window-buffer) can be > a buffer completely unrelated to Org. Hmm, what was the previous behaviour of `recenter'? (i.e. before it reports an error) Did it just do nothing? Best, -- Daimrod/Greg