unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Tekk <tekk@parlementum.net>
Cc: emacs-devel@gnu.org
Subject: Re: strange "feature"
Date: Mon, 15 Oct 2012 16:14:13 +0900	[thread overview]
Message-ID: <87hapw6wca.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <20121015053444.GA24525@Wes.ec.rr.com>

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)



      reply	other threads:[~2012-10-15  7:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-13 14:58 strange "feature" immanuel litzroth
2012-10-13 16:20 ` danny
2012-10-13 17:02   ` Eli Zaretskii
2012-10-13 19:47     ` Tekk
2012-10-14  5:59       ` Mathias Dahl
2012-10-14 15:30         ` Stefan Monnier
2012-10-14 22:03           ` Mathias Dahl
2012-10-15  4:25       ` Stephen J. Turnbull
2012-10-15  5:34         ` Tekk
2012-10-15  7:14           ` Stephen J. Turnbull [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hapw6wca.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=tekk@parlementum.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).