bug#2250: 23.0.90; Ask the user before printing (sending to printer)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#2250: 23.0.90; Ask the user before printing (sending to printer)

Daniel Clemente-2

  I propose to have a new variable, confirm-print, set to t by default, which if non-nil displays a confirmation message to the user just before a file/region/buffer is going to be printed to a local or remote printer.

  This is needed because users may print things by mistake while they are testing functions. I did it at least two times:
- I mistyped a key shortcut in some mode and issued another one which just... printed without asking
- M-x ps-print-buffer RET, thinking that it would export to a .ps file. Ouch! Only if you used a prefix. My org-mode agenda appeared in a printer in another building...


  The confirmation message can, in addition to asking „Send document to printer? yes/no“, say the name of the printer which will be used: „Send document to printer oki_B6300? yes/no“.


In GNU Emacs 23.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2009-02-09 on CPU107








Reply | Threaded
Open this post in threaded view
|

bug#2250: 23.0.90; Ask the user before printing (sending to printer)

Richard Stallman
      I propose to have a new variable, confirm-print, set to t by
      default, which if non-nil displays a confirmation message to the
      user just before a file/region/buffer is going to be printed to
      a local or remote printer.

I don't mind if we have this variable
but I am against making it t by default.
Printing something by mistake is not very common
and it is no disaster.  It makes no sense to inconvenience
people that want to print, just to prevent a minor inconvenience.

    - I mistyped a key shortcut in some mode and issued another one
      which just... printed without asking

Please give the precise details.  Perhaps we should change
that mode's key bindings or commands.




Reply | Threaded
Open this post in threaded view
|

bug#2250: 23.0.90; Ask the user before printing (sending to printer)

Lars Ingebrigtsen
Richard M Stallman <[hidden email]> writes:

>       I propose to have a new variable, confirm-print, set to t by
>       default, which if non-nil displays a confirmation message to the
>       user just before a file/region/buffer is going to be printed to
>       a local or remote printer.
>
> I don't mind if we have this variable
> but I am against making it t by default.
> Printing something by mistake is not very common
> and it is no disaster.  It makes no sense to inconvenience
> people that want to print, just to prevent a minor inconvenience.

If we have such a variable and don't default it to t, I doubt it will
help many users.

So I think this doesn't seem like a very vital option to have, so I'm
closing this bug report.

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no