Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   How to prevent emacs from installing v24? (http://www.linux-archive.org/gentoo-user/710559-how-prevent-emacs-installing-v24.html)

Grant Edwards 10-08-2012 04:39 PM

How to prevent emacs from installing v24?
 
How do I prevent emerge from demanding that emacs 24 be installed? I
uninstalled it a few days ago and re-installed 23 because 24 was just
too buggy to be usable.

I put this in /etc/portage/package.mask to keep 24 from getting
installed:

>=app-editors/emacs-24.0

But emerge -u keeps insisting that it be allowed to re-install emacs 24:

# emerge -auvND world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] virtual/libffi-3.0.11 [0] 0 kB
[ebuild U ] dev-libs/libtasn1-2.13 [2.12] USE="-doc -static-libs" 1,919 kB
[ebuild N ] app-emacs/emacs-common-gentoo-1.3-r3 USE="X -games" 0 kB
[ebuild U ] net-libs/gnutls-2.12.20 [2.12.18] USE="cxx nettle nls zlib -bindist -doc -examples -guile -lzo -pkcs11 -static-libs -test" 7,062 kB
[ebuild NS #] app-editors/emacs-24.2 [23.4-r4] USE="X alsa gpm gtk jpeg png svg tiff xft xpm -Xaw3d (-aqua) -athena -dbus -games -gconf -gif -gnutls -gsettings -gtk3 -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int" 33,902 kB
[ebuild N ] virtual/emacs-24 0 kB
[ebuild U ] net-analyzer/wireshark-1.8.3 [1.8.2-r2] USE="caps gcrypt gtk ipv6 pcap ssl zlib -adns -doc -doc-pdf -geoip -kerberos -libadns -lua -portaudio -profile -python (-selinux) -smi" 23,559 kB
[ebuild U ] net-dns/dnsmasq-2.63 [2.57] USE="dhcp ipv6 nls -conntrack% -dbus -idn -lua% -script% -tftp" LINGUAS="-de% -es% -fi% -fr% -id% -it% -no% -pl% -pt_BR% -ro%" 370 kB
[ebuild U ] app-shells/gentoo-bashcomp-20101217-r1 [20101217] 23 kB

Total: 9 packages (6 upgrades, 2 new, 1 in new slot), Size of downloads: 66,833 kB

The following mask changes are necessary to proceed:
#required by virtual/emacs-24, required by app-emacs/emacs-common-gentoo-1.3-r3, required by app-editors/emacs-23.4-r4, required by @selected, required by @world (argument)
# /etc/portage/package.mask:
=app-editors/emacs-24.2

NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).

How do I tell emerge that I don't want emacs 24?

--
Grant Edwards grant.b.edwards Yow! HOORAY, Ronald!!
at Now YOU can marry LINDA
gmail.com RONSTADT too!!

Canek Peláez Valdés 10-08-2012 04:44 PM

How to prevent emacs from installing v24?
 
On Mon, Oct 8, 2012 at 11:39 AM, Grant Edwards
<grant.b.edwards@gmail.com> wrote:
> How do I prevent emerge from demanding that emacs 24 be installed? I
> uninstalled it a few days ago and re-installed 23 because 24 was just
> too buggy to be usable.
>
> I put this in /etc/portage/package.mask to keep 24 from getting
> installed:
>
> >=app-editors/emacs-24.0
>
> But emerge -u keeps insisting that it be allowed to re-install emacs 24:
>
> # emerge -auvND world
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild U ] virtual/libffi-3.0.11 [0] 0 kB
> [ebuild U ] dev-libs/libtasn1-2.13 [2.12] USE="-doc -static-libs" 1,919 kB
> [ebuild N ] app-emacs/emacs-common-gentoo-1.3-r3 USE="X -games" 0 kB
> [ebuild U ] net-libs/gnutls-2.12.20 [2.12.18] USE="cxx nettle nls zlib -bindist -doc -examples -guile -lzo -pkcs11 -static-libs -test" 7,062 kB
> [ebuild NS #] app-editors/emacs-24.2 [23.4-r4] USE="X alsa gpm gtk jpeg png svg tiff xft xpm -Xaw3d (-aqua) -athena -dbus -games -gconf -gif -gnutls -gsettings -gtk3 -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int" 33,902 kB
> [ebuild N ] virtual/emacs-24 0 kB
> [ebuild U ] net-analyzer/wireshark-1.8.3 [1.8.2-r2] USE="caps gcrypt gtk ipv6 pcap ssl zlib -adns -doc -doc-pdf -geoip -kerberos -libadns -lua -portaudio -profile -python (-selinux) -smi" 23,559 kB
> [ebuild U ] net-dns/dnsmasq-2.63 [2.57] USE="dhcp ipv6 nls -conntrack% -dbus -idn -lua% -script% -tftp" LINGUAS="-de% -es% -fi% -fr% -id% -it% -no% -pl% -pt_BR% -ro%" 370 kB
> [ebuild U ] app-shells/gentoo-bashcomp-20101217-r1 [20101217] 23 kB
>
> Total: 9 packages (6 upgrades, 2 new, 1 in new slot), Size of downloads: 66,833 kB
>
> The following mask changes are necessary to proceed:
> #required by virtual/emacs-24, required by app-emacs/emacs-common-gentoo-1.3-r3, required by app-editors/emacs-23.4-r4, required by @selected, required by @world (argument)
> # /etc/portage/package.mask:
> =app-editors/emacs-24.2
>
> NOTE: The --autounmask-keep-masks option will prevent emerge
> from creating package.unmask or ** keyword changes.
>
> Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).
>
> How do I tell emerge that I don't want emacs 24?

Portage is telling you how:

> The following mask changes are necessary to proceed:
> #required by virtual/emacs-24, required by app-emacs/emacs-common-gentoo-1.3-r3, required by app-editors/emacs-23.4-r4, required by @selected, required by @world (argument)

You need to also mask >=virtual/emacs-24.

Regards
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

10-08-2012 05:12 PM

How to prevent emacs from installing v24?
 
Canek Peláez Valdés <caneko@gmail.com> wrote:

> On Mon, Oct 8, 2012 at 11:39 AM, Grant Edwards
> <grant.b.edwards@gmail.com> wrote:
> > How do I prevent emerge from demanding that emacs 24 be installed? I
> > uninstalled it a few days ago and re-installed 23 because 24 was just
> > too buggy to be usable.
> >
> > I put this in /etc/portage/package.mask to keep 24 from getting
> > installed:
> >
> > >=app-editors/emacs-24.0
> >
> > But emerge -u keeps insisting that it be allowed to re-install emacs 24:
> >
> > # emerge -auvND world
> >
> > These are the packages that would be merged, in order:
> >
> > Calculating dependencies... done!
> > [ebuild U ] virtual/libffi-3.0.11 [0] 0 kB
> > [ebuild U ] dev-libs/libtasn1-2.13 [2.12] USE="-doc -static-libs" 1,919 kB
> > [ebuild N ] app-emacs/emacs-common-gentoo-1.3-r3 USE="X -games" 0 kB
> > [ebuild U ] net-libs/gnutls-2.12.20 [2.12.18] USE="cxx nettle nls zlib -bindist -doc -examples -guile -lzo -pkcs11 -static-libs -test" 7,062 kB
> > [ebuild NS #] app-editors/emacs-24.2 [23.4-r4] USE="X alsa gpm gtk jpeg png svg tiff xft xpm -Xaw3d (-aqua) -athena -dbus -games -gconf -gif -gnutls -gsettings -gtk3 -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int" 33,902 kB
> > [ebuild N ] virtual/emacs-24 0 kB
> > [ebuild U ] net-analyzer/wireshark-1.8.3 [1.8.2-r2] USE="caps gcrypt gtk ipv6 pcap ssl zlib -adns -doc -doc-pdf -geoip -kerberos -libadns -lua -portaudio -profile -python (-selinux) -smi" 23,559 kB
> > [ebuild U ] net-dns/dnsmasq-2.63 [2.57] USE="dhcp ipv6 nls -conntrack% -dbus -idn -lua% -script% -tftp" LINGUAS="-de% -es% -fi% -fr% -id% -it% -no% -pl% -pt_BR% -ro%" 370 kB
> > [ebuild U ] app-shells/gentoo-bashcomp-20101217-r1 [20101217] 23 kB
> >
> > Total: 9 packages (6 upgrades, 2 new, 1 in new slot), Size of downloads: 66,833 kB
> >
> > The following mask changes are necessary to proceed:
> > #required by virtual/emacs-24, required by app-emacs/emacs-common-gentoo-1.3-r3, required by app-editors/emacs-23.4-r4, required by @selected, required by @world (argument)
> > # /etc/portage/package.mask:
> > =app-editors/emacs-24.2
> >
> > NOTE: The --autounmask-keep-masks option will prevent emerge
> > from creating package.unmask or ** keyword changes.
> >
> > Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).
> >
> > How do I tell emerge that I don't want emacs 24?
>
> Portage is telling you how:
>
> > The following mask changes are necessary to proceed:
> > #required by virtual/emacs-24, required by app-emacs/emacs-common-gentoo-1.3-r3, required by app-editors/emacs-23.4-r4, required by @selected, required by @world (argument)
>
> You need to also mask >=virtual/emacs-24.

But why bnot let it install, it doesn't mean you have to use it. You
have to use eselect emacs to change what version you are using.

--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
covici@ccs.covici.com

Grant Edwards 10-08-2012 05:17 PM

How to prevent emacs from installing v24?
 
On 2012-10-08, Canek Pel??ez Vald??s <caneko@gmail.com> wrote:
> On Mon, Oct 8, 2012 at 11:39 AM, Grant Edwards

>> I put this in /etc/portage/package.mask to keep 24 from getting
>> installed:
>>
>> >=app-editors/emacs-24.0
>>
>> But emerge -u keeps insisting that it be allowed to re-install emacs 24:
[...]
>> How do I tell emerge that I don't want emacs 24?
>
> Portage is telling you how:
>
>> The following mask changes are necessary to proceed:
>> #required by virtual/emacs-24, required by app-emacs/emacs-common-gentoo-1.3-r3, required by app-editors/emacs-23.4-r4, required by @selected, required by @world (argument)
>
> You need to also mask >=virtual/emacs-24.

I should have tried that. I assumed that if virtual/emacs-24 was
required by app-emacs/emacs-common-gentoo-1.3-r3 then masking
virtual/emacs-24 would just cause a different error.

--
Grant Edwards grant.b.edwards Yow! Were these parsnips
at CORRECTLY MARINATED in
gmail.com TACO SAUCE?

Michael Hampicke 10-08-2012 05:49 PM

How to prevent emacs from installing v24?
 
Am 08.10.2012 18:39, schrieb Grant Edwards:
> How do I prevent emerge from demanding that emacs 24 be installed? I
> uninstalled it a few days ago and re-installed 23 because 24 was just
> too buggy to be usable.

Well, I am sure there's a emacs command for that :) :)

But seriously, like the other suggested, I would mask that specific
version of emacs.

Grant Edwards 10-08-2012 06:28 PM

How to prevent emacs from installing v24?
 
On 2012-10-08, covici@ccs.covici.com <covici@ccs.covici.com> wrote:
> Canek Pel??ez Vald??s <caneko@gmail.com> wrote:
>
>> You need to also mask >=virtual/emacs-24.
>
> But why bnot let it install, it doesn't mean you have to use it.
> You have to use eselect emacs to change what version you are using.

I know, but I try to keep the extraneously installed packages to a
minimum -- it reduces update time/hassle.

--
Grant Edwards grant.b.edwards Yow! Hand me a pair of
at leather pants and a CASIO
gmail.com keyboard -- I'm living
for today!

Neil Bothwick 10-08-2012 07:19 PM

How to prevent emacs from installing v24?
 
On Mon, 08 Oct 2012 19:49:33 +0200, Michael Hampicke wrote:

> But seriously, like the other suggested, I would mask that specific
> version of emacs.

Emacs is slotted, so you can mask the entire 24 range if you want with

app-editors/emacs:24
virtual/emacs:24

Actually, you should be able to mask just the virtual, because everything
that needs emacs should depend on the virtual, not a particular
implementation.


--
Neil Bothwick

Blessed be the pessimist for he hath made backups.

10-08-2012 07:27 PM

How to prevent emacs from installing v24?
 
On 2012-10-08, Michael Hampicke wrote:

> Am 08.10.2012 18:39, schrieb Grant Edwards:
>> How do I prevent emerge from demanding that emacs 24 be installed? I
>> uninstalled it a few days ago and re-installed 23 because 24 was just
>> too buggy to be usable.
>
> Well, I am sure there's a emacs command for that :) :)
>
> But seriously, like the other suggested, I would mask that specific
> version of emacs.

Regarding "too buggy to be usable", they really changed some of the
defaults... it seems, for example, that Emacs is not doing copy-paste as
expected anymore (tries to rely solely on the "clipboard", ignoring the
X selection), and now highlights regions by default, like if setting the
region was like doing text selection in a program such as Notepad.EXE.

As some day I will have to switch to 24, does anyone have a list of
settings to revert to the old Emacs behavior? I'm even wondering if
anything else changed, other than these two things I noticed...

--
Nuno Silva (aka njsg)
http://njsg.sdf-eu.org/

10-08-2012 07:28 PM

How to prevent emacs from installing v24?
 
On 2012-10-08, Neil Bothwick wrote:

> On Mon, 08 Oct 2012 19:49:33 +0200, Michael Hampicke wrote:
>
>> But seriously, like the other suggested, I would mask that specific
>> version of emacs.
>
> Emacs is slotted, so you can mask the entire 24 range if you want with
>
> app-editors/emacs:24
> virtual/emacs:24
>
> Actually, you should be able to mask just the virtual, because everything
> that needs emacs should depend on the virtual, not a particular
> implementation.

But if one uses emacs as their main text editor, I suppose something
will be in the world file, and *that* should be a specific
implementation, not virtual/*, right?

--
Nuno Silva (aka njsg)
http://njsg.sdf-eu.org/

Grant Edwards 10-08-2012 08:47 PM

How to prevent emacs from installing v24?
 
On 2012-10-08, Nuno J. Silva <nunojsilva@ist.utl.pt> wrote:
> On 2012-10-08, Michael Hampicke wrote:
>
>> Am 08.10.2012 18:39, schrieb Grant Edwards:
>>> How do I prevent emerge from demanding that emacs 24 be installed? I
>>> uninstalled it a few days ago and re-installed 23 because 24 was just
>>> too buggy to be usable.
>>
>> Well, I am sure there's a emacs command for that :) :)
>>
>> But seriously, like the other suggested, I would mask that specific
>> version of emacs.
>
> Regarding "too buggy to be usable",

I had all sorts of problems doing simple editing of C source files.
It seems like I couldn't edit for more than a dozen keystrokes before
it would "pop up" a lisp debugger window containing an unintelligible
(to me) traceback.

Once that happened, all sorts of things broke:

* matching brace highlight stopped working.

* Ctrl-XS didn't know the path/filename associated with the buffer.

* The F8/compile command stopped working.


> they really changed some of the defaults... it seems, for example,
> that Emacs is not doing copy-paste as expected anymore (tries to rely
> solely on the "clipboard", ignoring the X selection),

I hadn't noticed that one, but 24 was so unstable for me that I didn't
use it for very long before I went back to 23.

> and now highlights regions by default, like if setting the
> region was like doing text selection in a program such as Notepad.EXE.

I have that enabled in my .emacs file anyway.

> As some day I will have to switch to 24, does anyone have a list of
> settings to revert to the old Emacs behavior? I'm even wondering if
> anything else changed, other than these two things I noticed...

Maybe there's something incompatible with some of my add-ons ( Cscope,
and nxhmtl-mumamo-mode are probably the big ones), but I didn't find
24 usable enough to notice too many differences other than "23 works
and 24 doesn't".

--
Grant Edwards grant.b.edwards Yow! This MUST be a good
at party -- My RIB CAGE is
gmail.com being painfully pressed up
against someone's MARTINI!!


All times are GMT. The time now is 05:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.