unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Trunk and 'pc-selection-mode'
@ 2011-02-08 22:04 Angelo Graziosi
  2011-02-09 13:45 ` Eli Zaretskii
  2011-02-09 21:34 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Angelo Graziosi @ 2011-02-08 22:04 UTC (permalink / raw)
  To: Emacs

After bootstrapping current trunk (rev. 103188), starting Emacs gives 
this warning:

-------------------------------------------
Warning (initialization): An error occurred while loading 
`/home/u/.emacs.d/init.el':

Symbol's function definition is void: pc-selection-mode

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.
-------------------------------------------

In my init file I have:

(pc-selection-mode t)

Isn't it valid any more? How should I change it?

TIA,
Angelo.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trunk and 'pc-selection-mode'
  2011-02-08 22:04 Trunk and 'pc-selection-mode' Angelo Graziosi
@ 2011-02-09 13:45 ` Eli Zaretskii
  2011-02-09 21:34 ` Stefan Monnier
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2011-02-09 13:45 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

> Date: Tue, 08 Feb 2011 23:04:31 +0100
> From: Angelo Graziosi <angelo.graziosi@alice.it>
> 
> In my init file I have:
> 
> (pc-selection-mode t)
> 
> Isn't it valid any more? How should I change it?

You are encouraged to use delete-selection-mode instead.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trunk and 'pc-selection-mode'
  2011-02-08 22:04 Trunk and 'pc-selection-mode' Angelo Graziosi
  2011-02-09 13:45 ` Eli Zaretskii
@ 2011-02-09 21:34 ` Stefan Monnier
  2011-02-10 20:43   ` Angelo Graziosi
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2011-02-09 21:34 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Emacs

> In my init file I have:

> (pc-selection-mode t)

> Isn't it valid any more? How should I change it?

It's obsolete.  You can either use delete-selection-mode instead, or use
(require 'pc-select) before the above (pc-selection-mode t).

But maybe we should still autoload pc-selection-mode.


        Stefan



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trunk and 'pc-selection-mode'
  2011-02-09 21:34 ` Stefan Monnier
@ 2011-02-10 20:43   ` Angelo Graziosi
  0 siblings, 0 replies; 4+ messages in thread
From: Angelo Graziosi @ 2011-02-10 20:43 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs

Il 09/02/2011 22.34, Stefan Monnier ha scritto:
>
> But maybe we should still autoload pc-selection-mode.

Eli Zaretskii wrote:
> You are encouraged to use delete-selection-mode instead.

This is the solution I adopted

(delete-selection-mode t)


Thanks,
Angelo.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-10 20:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-08 22:04 Trunk and 'pc-selection-mode' Angelo Graziosi
2011-02-09 13:45 ` Eli Zaretskii
2011-02-09 21:34 ` Stefan Monnier
2011-02-10 20:43   ` Angelo Graziosi

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).