From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: strange "feature" Date: Mon, 15 Oct 2012 16:14:13 +0900 Message-ID: <87hapw6wca.fsf@uwakimon.sk.tsukuba.ac.jp> References: <20121013162016.GA10794@Wes.ec.rr.com> <83r4p25mqn.fsf@gnu.org> <20121013194705.GA26873@Wes.ec.rr.com> <87obk47456.fsf@uwakimon.sk.tsukuba.ac.jp> <20121015053444.GA24525@Wes.ec.rr.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1350285273 11784 80.91.229.3 (15 Oct 2012 07:14:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2012 07:14:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tekk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 15 09:14:39 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TNesm-0006zC-Uj for ged-emacs-devel@m.gmane.org; Mon, 15 Oct 2012 09:14:37 +0200 Original-Received: from localhost ([::1]:40951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNesg-0001Vi-1U for ged-emacs-devel@m.gmane.org; Mon, 15 Oct 2012 03:14:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNesY-0001Vd-Uv for emacs-devel@gnu.org; Mon, 15 Oct 2012 03:14:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNesY-0001JJ-1n for emacs-devel@gnu.org; Mon, 15 Oct 2012 03:14:22 -0400 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:50265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNesX-0001Ie-Ny for emacs-devel@gnu.org; Mon, 15 Oct 2012 03:14:21 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 29F339708E9; Mon, 15 Oct 2012 16:14:14 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id E470B158E41; Mon, 15 Oct 2012 16:14:13 +0900 (JST) In-Reply-To: <20121015053444.GA24525@Wes.ec.rr.com> X-Mailer: VM undefined under 21.5 (beta32) "habanero" b0d40183ac79 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.224 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154345 Archived-At: Tekk writes: > It's certainly possible, but I in general I think it'd be > preferable for emacs to dtrt, Patches welcome, I'm sure. Personally I use (defun sjt/print-file-of-buffer () (let ((cmd (format "lp %s" (buffer-file-name)))) (when (y-or-n-p (format "%s?" cmd)) (shell-command cmd)))) (global-set-key [(control c) p] #'sjt/print-file-of-buffer)