all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: Windows port: using Windows' default printer
Date: Sat, 13 Sep 2003 12:04:54 +0200	[thread overview]
Message-ID: <7263-Sat13Sep2003120454+0300-eliz@elta.co.il> (raw)
In-Reply-To: <uwucdls1y.fsf@runestig.com> (peter@runestig.com)

> Date: 12 Sep 2003 21:34:17 +0200
> From: "Peter 'Luna' Runestig" <peter@runestig.com>
> 
> This is a reworked version of the `w32-default-printer-device' variable
> patch I posted in March 2002. After a private mail exchange with Jason
> Rumney, I followed his ideas, and instead implemented a
> `default-printer-name' function, that is to be used if `printer-name'
> is nil.

Ouch!  Yet another symbol whose name is SOMETHING-printer-name, and
yet another way of specifying the default printer?

> +DEFUN ("default-printer-name", Fdefault_printer_name, Sdefault_printer_name,
> +       0, 0, 0, doc: /* Return the name of Windows default printer device.  */)

I understand the need for this function, but why does it need to be
called each time we want to print?  Does the default printer get
changed that often?

How about if we call this function only once, at startup, and put the
result into `printer-name'?  Would that be okay?

If Windows sends some kind of message when the default printer
changes, perhaps you could arrange for NTEmacs to listen to that
message and update `printer-name' automatically when it comes.
Failing that, we could tell the user to do that manually (after all, a
change in the default printer is something the user should be aware
of, right?).

WDYT?

  reply	other threads:[~2003-09-13 10:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20 13:18 Windows port: using Windows' default printer Peter 'Luna' Runestig
2003-02-20 23:05 ` Jason Rumney
2003-02-21  6:52   ` Peter 'Luna' Runestig
2003-02-21  8:20     ` Jason Rumney
2003-09-12 19:34       ` Peter 'Luna' Runestig
2003-09-13 10:04         ` Eli Zaretskii [this message]
2003-09-13 10:35           ` Jason Rumney
2003-09-13 14:39             ` Eli Zaretskii
2003-09-13 19:44               ` Peter 'Luna' Runestig
2003-09-13 20:32                 ` Kai Grossjohann
2003-09-13 22:13                   ` Jason Rumney
2003-09-13 23:44                 ` Eli Zaretskii
2003-09-14  9:40                   ` Peter 'Luna' Runestig
2003-09-15 14:52         ` Stefan Monnier
2003-09-21 13:19           ` Eli Zaretskii
2003-09-21 19:51             ` Stefan Monnier
2003-09-22  6:07               ` Eli Zaretskii
2003-09-23 16:28               ` Peter 'Luna' Runestig
2003-09-24 18:25                 ` Eli Zaretskii
2003-09-24 19:22                   ` Luc Teirlinck
2003-09-25 13:26                   ` Peter 'Luna' Runestig
2003-10-22 10:35                     ` Peter 'Luna' Runestig
2003-10-22 11:15                       ` Jason Rumney
2003-10-22 15:58                       ` Eli Zaretskii
2003-11-26 11:55                         ` Peter 'Luna' Runestig

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

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

  git send-email \
    --in-reply-to=7263-Sat13Sep2003120454+0300-eliz@elta.co.il \
    --to=eliz@elta.co.il \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.