Re: [gentoo-user] Re: How to prevent emacs from installing v24?

2012-10-08 Thread Neil Bothwick
On Mon, 08 Oct 2012 22:28:55 +0300, Nuno J. Silva wrote:

  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?

Yes, and in that case just edit your world file to specify
app-editors/emacs:23, which is what I added to stop 23 being depcleaned
until I was happy with 24.

Not that you need to actually edit the file these days

emerge --deselect app-editors/emacs
emerge --noreplace app-editors/emacs:23

will do nicely.


-- 
Neil Bothwick

I used to have a handle on life, then it broke.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to prevent emacs from installing v24?

2012-10-08 Thread Dale
Neil Bothwick wrote:
 On Mon, 08 Oct 2012 22:28:55 +0300, Nuno J. Silva wrote:

 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?
 Yes, and in that case just edit your world file to specify
 app-editors/emacs:23, which is what I added to stop 23 being depcleaned
 until I was happy with 24.

 Not that you need to actually edit the file these days

 emerge --deselect app-editors/emacs
 emerge --noreplace app-editors/emacs:23

 will do nicely.




I have noticed I have to add select y to your last command.  Is it just
me?  I notice you didn't have that on yours.  Just got to ask.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: How to prevent emacs from installing v24?

2012-10-08 Thread Neil Bothwick
On Mon, 08 Oct 2012 17:57:45 -0500, Dale wrote:

  Not that you need to actually edit the file these days
 
  emerge --deselect app-editors/emacs
  emerge --noreplace app-editors/emacs:23
 
  will do nicely.

 I have noticed I have to add select y to your last command.  Is it just
 me?  I notice you didn't have that on yours.  Just got to ask.

--noreplace on its own works fine here. It doesn't re-emerge the package
if it is already installed, just adds it to world, whereas --select=y
emerges it regardless.


-- 
Neil Bothwick

- We are but packets in the internet of Life-


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to prevent emacs from installing v24?

2012-10-08 Thread Dale
Neil Bothwick wrote:
 On Mon, 08 Oct 2012 17:57:45 -0500, Dale wrote:

 Not that you need to actually edit the file these days

 emerge --deselect app-editors/emacs
 emerge --noreplace app-editors/emacs:23

 will do nicely.
 I have noticed I have to add select y to your last command.  Is it just
 me?  I notice you didn't have that on yours.  Just got to ask.
 --noreplace on its own works fine here. It doesn't re-emerge the package
 if it is already installed, just adds it to world, whereas --select=y
 emerges it regardless.



Well, here, it doesn't recompile either way, if it is installed.  This
is weird.  I'm on portage-2.2.0_alpha135.  I don't run the  version
tho. 

Maybe I need to try it again and something has changed.  It has been a
month or so since I had to use it. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!