Re: How to get an older emacs on Jessie

2016-09-30 Thread Bob Bernstein

On Fri, 30 Sep 2016, Stefan Monnier wrote:


dist-upgrade doesn't happen automatically.  So yes, you can add the
above and then do something like


I appended this to my sources.list:

deb http://debian.csail.mit.edu/debian/ wheezy main contrib non-free

and then ran:

# apt-get update

I kept rerunning:

# apt-get install --dry-run emacs23

until all the warnings subsided, meaning all the dependency 
problems were going to be resolved. It looked like this:


# apt-get install --dry-run emacs23-el emacs23-common 
emacs23-bin-common libjpeg8 libtiff4


Then I removed the '--dry-run' option and ran the apt-get 
install for real. It went smooth as silk, but -- more 
importantly for my purposes -- the resultant emacs23 ran 
perfectly with psgmlx and a debiandoc sgml document I had been 
using as test doc!


NB. I had installed viz. byte-compiled the psgmlx package with 
the emacs23 I yesterday built from source grabbed on 
http://ftp.gnu.org/gnu/ .


I am psyched. Now to post this over on the debian-doc list so 
the "answer" is there too.


As one who in an earlier incarnation made a fairly good, if 
occasional, buck tech-writing and -editing on linux topics 
(which income came to an abrupt halt when the "internet bubble" 
collapsed), I am here to say that debiandoc is an excellent 
publishing tool-chain. It is blessedly simple but complete for 
my needs, which means it is actually FUN to use!


Thanks all!

--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.



Re: How to get an older emacs on Jessie

2016-09-30 Thread Stefan Monnier
> Can this be adjusted to allow me to install via apt-get this package?:
> https://packages.debian.org/wheezy/emacs23
> My fear is that if I monkey with sources.list I will trigger an unwanted
> dist-upgrade.

dist-upgrade doesn't happen automatically.  So yes, you can add the
above and then do something like

aptitude update; aptitude install emacs23

If you don't trust APT enough, then you can go the safer/manual route:

wget /emacs23_...deb
dpkg --install emacs23_...deb

[ Of course, this may fail, for lack of a dependency, which you'll then
  want to wget+dpkg install in the same way, etc...  ]


Stefan



Re: How to get an older emacs on Jessie

2016-09-30 Thread Jonathan Dowland
On Thu, Sep 29, 2016 at 12:14:54PM -0400, Bob Bernstein wrote:
> Can this be adjusted to allow me to install via apt-get this package?:
> 
> https://packages.debian.org/wheezy/emacs23
> 
> My fear is that if I monkey with sources.list I will trigger an unwanted
> dist-upgrade.

The solution would be to add the apt lines but configure apt pinning to ensure
that the oldstable (or older) lines never have priority over jessie.


signature.asc
Description: Digital signature


Re: How to get an older emacs on Jessie

2016-09-29 Thread Andre Majorel
On 2016-09-29 14:57 -0400, Marc Auslander wrote:

> I see what you mean.  I must assume that the other packages have
> survived my upgrades from previous versions and are still in my
> package database.  Sorry for the misleading post - it shows I don't
> know how aptitude works :-)

"emacs21" "emacs22" & "emacs23" are in the package list, even on
a new installation but they are "purely virtual" packages.
Attempting to install them with aptitude fails with message "No
candidate version found for emacs##".

-- 
André Majorel 
lists.debian.org, a spammer's favourite.



Re: How to get an older emacs on Jessie

2016-09-29 Thread Bob Bernstein

On Thu, 29 Sep 2016, Greg Wooledge wrote:

Whenever I don't find the pacakge I want in Debian's 
repository, I typically grab the upstream source code and 
build it myself.


Yes, me too. I was able to build 23.4 from source, and this 
appeared to solve the choking-on-old-elisp while byte-compiling 
psgmlx, but the resultant psgmlx is still problematic. Oh well.


Thanks all,

--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.



Re: How to get an older emacs on Jessie

2016-09-29 Thread Marc Auslander
I see what you mean.  I must assume that the other packages have
survived my upgrades from previous versions and are still in my
package database.  Sorry for the misleading post - it shows I don't
know how aptitude works :-)



Re: How to get an older emacs on Jessie

2016-09-29 Thread Greg Wooledge
On Thu, Sep 29, 2016 at 01:28:59PM -0400, Marc Auslander wrote:
> I'm running Jessie with the standard repositories and emacs from 21 on
> are available.  Have you looked?

I see emacs24 and xemacs21 in jessie.  Nothing in between.  I don't
fully understand the differences between emacs and xemacs; I am not
an emacs user, but I seem to recall that xemacs is a forked project,
and may or may not be suitable for the OP's goals.

Whenever I don't find the pacakge I want in Debian's repository, I
typically grab the upstream source code and build it myself.  This
is usually much simpler than trying to work out how to deceive the
package manager in the least damaging way.



Re: How to get an older emacs on Jessie

2016-09-29 Thread Marc Auslander
I'm running Jessie with the standard repositories and emacs from 21 on
are available.  Have you looked?



How to get an older emacs on Jessie

2016-09-29 Thread Bob Bernstein
I have a need for an emacs older -- in terms of major version 
number -- than the ver. 24.4.1 currently onboard my i686 Jessie 
system. I suspect anything of ver. 23.n.n vintage would suit my 
purpose, which is to avoid ver 24's fussiness about older elisp 
code in a -- non-Debian -- package I am not willing to toss into 
the dustbin at this juncture, to wit psgmlx. Yes, I have brought 
this issue to the attention of the debian-doc list.


I *seem* to recall Debian maintained an impressive bunch of 
older emacs debs. I found one such version in the oldstable 
distribution, but I am loath to point my apt sources list at two 
distinct distributions.


Here's my current sources.list:

+++

deb http://debian.csail.mit.edu/debian/ jessie main contrib 
non-free
deb-src http://debian.csail.mit.edu/debian/ jessie main contrib 
non-free


deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

deb http://debian.csail.mit.edu/debian/ jessie-updates main
deb-src http://debian.csail.mit.edu/debian/ jessie-updates main

+++

Can this be adjusted to allow me to install via apt-get this 
package?:


https://packages.debian.org/wheezy/emacs23

My fear is that if I monkey with sources.list I will trigger an 
unwanted dist-upgrade.


Best regards,

--
A person of great honour in Ireland (who was pleased to
stoop so low as to look into my mind) used to tell me that
my mind was like a conjured spirit, that would do mischief
if I did not give it employment.
Jonathan Swift