unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to get web browsing functionality in emacs 23?
@ 2011-01-26 18:15 guivho
  0 siblings, 0 replies; 11+ messages in thread
From: guivho @ 2011-01-26 18:15 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I am running GNU Emacs 23.2.92.1 (x86_64-apple-darwin, NS
apple-appkit-1038.35) of 2011-01-15 on OSX 10.6
obtained from http://emacsformacosx.com/

I would like to browse certain web pages from within emacs and did not
find working browser functionality within the downloaded package.

When trying good old but slow M-x w3 emacs barks
 'font-default-size-for-device: Wrong type argument: arrayp, nil'

So I thought about trying emacs-w3m. I installed w3m and it works fine
from within a terminal.

When installing emacs-w3m, it complains about missing apel and flim
and missing load-file subst-ksc

I can hardly believe that I have to go through all that trouble to get
a working browser within emacs. Before I loose more time with this,
I'd like to hear some advise from the list.

Surely, I can't be the only emacs guy that wants e.g. to read www
based documentation from within emacs...

So any help would be most welcome,

TIA, Guivho.



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

* Re: How to get web browsing functionality in emacs 23?
       [not found] <mailman.3.1296065740.11530.help-gnu-emacs@gnu.org>
@ 2011-01-26 18:45 ` Krzysztof Bieniasz
  2011-01-26 19:36   ` guivho
  0 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Bieniasz @ 2011-01-26 18:45 UTC (permalink / raw)
  To: help-gnu-emacs

> Hi,
> 
> I am running GNU Emacs 23.2.92.1 (x86_64-apple-darwin, NS
> apple-appkit-1038.35) of 2011-01-15 on OSX 10.6 obtained from
> http://emacsformacosx.com/
> 
> I would like to browse certain web pages from within emacs and did not
> find working browser functionality within the downloaded package.
> 
> When trying good old but slow M-x w3 emacs barks
>  'font-default-size-for-device: Wrong type argument: arrayp, nil'
> 
> So I thought about trying emacs-w3m. I installed w3m and it works fine
> from within a terminal.
>
> When installing emacs-w3m, it complains about missing apel and flim and
> missing load-file subst-ksc

Have you considered installing them then? It might be useful to install a 
package's dependencies.

> I can hardly believe that I have to go through all that trouble to get a
> working browser within emacs. Before I loose more time with this, I'd
> like to hear some advise from the list.
> 
> Surely, I can't be the only emacs guy that wants e.g. to read www based
> documentation from within emacs...

Coincidentally I installed w3m just yesterday for the first time. It 
works fine so obviously it's not that much of a problem.


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

* Re: How to get web browsing functionality in emacs 23?
  2011-01-26 18:45 ` How to get web browsing functionality in emacs 23? Krzysztof Bieniasz
@ 2011-01-26 19:36   ` guivho
  2011-01-26 20:32     ` Krzysztof Bieniasz
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: guivho @ 2011-01-26 19:36 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

> > When installing emacs-w3m, it complains about missing apel and flim and
> > missing load-file subst-ksc
>
> Have you considered installing them then? It might be useful to install a
> package's dependencies.

Well, apel-10.8, flim-1.14.9 as well as emacs-w3m-1.4.4 commplain
about not being able to open load file subst-ksc, and I don't know how
or where to get it.  In fact I got one at
http://repo.or.cz/w/emacs.git/blob_plain/e4904e23a5d19ea4c13fead4c0f0b61e14407077:/lisp/international/subst-ksc.el
and it byte compiled all right, but when I manually load it, it barks:
(void-function utf-translate-cjk-substitutable-p) apparently I'm
missing more than subst-ksc, and probably fetched subst-ksc from the
wrong location anyhow.

So I am back at square #1, unless you got some good advise about how
to proceed.

TIA, Guivho


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

* Re: How to get web browsing functionality in emacs 23?
  2011-01-26 19:36   ` guivho
@ 2011-01-26 20:32     ` Krzysztof Bieniasz
  2011-01-26 21:17     ` Peter Dyballa
  2011-01-26 22:02     ` Thierry Volpiatto
  2 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Bieniasz @ 2011-01-26 20:32 UTC (permalink / raw)
  To: help-gnu-emacs

> Well, apel-10.8, flim-1.14.9 as well as emacs-w3m-1.4.4 commplain about
> not being able to open load file subst-ksc, and I don't know how or
> where to get it.  In fact I got one at
> http://repo.or.cz/w/emacs.git/blob_plain/
>e4904e23a5d19ea4c13fead4c0f0b61e14407077:/lisp/international/subst-ksc.el
> and it byte compiled all right, but when I manually load it, it barks:
> (void-function utf-translate-cjk-substitutable-p) apparently I'm missing
> more than subst-ksc, and probably fetched subst-ksc from the wrong
> location anyhow.

Looks like an issue with cjk translation to unicode. Do you use those (eg. 
Korean)? I don't seem to have this file in my system. You might lack some 
other files, on which subst-ksc depends.


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

* Re: How to get web browsing functionality in emacs 23?
  2011-01-26 19:36   ` guivho
  2011-01-26 20:32     ` Krzysztof Bieniasz
@ 2011-01-26 21:17     ` Peter Dyballa
  2011-01-26 22:02     ` Thierry Volpiatto
  2 siblings, 0 replies; 11+ messages in thread
From: Peter Dyballa @ 2011-01-26 21:17 UTC (permalink / raw)
  To: guivho; +Cc: help-gnu-emacs


Am 26.01.2011 um 20:36 schrieb guivho:

> So I am back at square #1, unless you got some good advise about how
> to proceed.

Get subst-ksc.el (and some subst-*.el) from GNU Emacsen 22.1-22.3!

--
Greetings

   Pete

When Richard Stallman goes to the loo, he core dumps.




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

* Re: How to get web browsing functionality in emacs 23?
  2011-01-26 19:36   ` guivho
  2011-01-26 20:32     ` Krzysztof Bieniasz
  2011-01-26 21:17     ` Peter Dyballa
@ 2011-01-26 22:02     ` Thierry Volpiatto
  2011-01-27  8:22       ` guivho
  2 siblings, 1 reply; 11+ messages in thread
From: Thierry Volpiatto @ 2011-01-26 22:02 UTC (permalink / raw)
  To: help-gnu-emacs

guivho <guivho@gmail.com> writes:

> Hi,
>
>> > When installing emacs-w3m, it complains about missing apel and flim and
>> > missing load-file subst-ksc
>>
>> Have you considered installing them then? It might be useful to install a
>> package's dependencies.
>
> Well, apel-10.8, flim-1.14.9 as well as emacs-w3m-1.4.4 commplain
> about not being able to open load file subst-ksc, and I don't know how
> or where to get it.  In fact I got one at
> http://repo.or.cz/w/emacs.git/blob_plain/e4904e23a5d19ea4c13fead4c0f0b61e14407077:/lisp/international/subst-ksc.el
> and it byte compiled all right, but when I manually load it, it barks:
> (void-function utf-translate-cjk-substitutable-p) apparently I'm
> missing more than subst-ksc, and probably fetched subst-ksc from the
> wrong location anyhow.
>
> So I am back at square #1, unless you got some good advise about how
> to proceed.

Be sure you use cvs version (last) of emacs-w3m with all emacs >23

> TIA, Guivho
>

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




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

* Re: How to get web browsing functionality in emacs 23?
  2011-01-26 22:02     ` Thierry Volpiatto
@ 2011-01-27  8:22       ` guivho
  2011-01-27 14:54         ` Thierry Volpiatto
                           ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: guivho @ 2011-01-27  8:22 UTC (permalink / raw)
  To: help-gnu-emacs

Hi Thierry,

> Be sure you use cvs version (last) of emacs-w3m with all emacs >23

Ok, I got the latest cvs tarball from
http://cvs.namazu.org/emacs-w3m.tar.gz and untarred it. It does not
have a configure script, so I executed autoconf (as instructed in the
README) and ran configure again to end up with a cryptic error
message:

$ cd elisp/emacs-w3m/
$ ./configure
./configure: command not found
$ autoconf
$ ./configure
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for makeinfo... makeinfo
checking for texi2dvi... texi2dvi
checking for ptex... false
checking for jbibtex... false
checking for dvipdfmx... false
checking for texi2pdf... texi2pdf
checking for egrep... egrep
checking for emacs... /usr/bin/emacs
checking what a flavor does /usr/bin/emacs have... cat:
./conftest-27598: No such file or directory

configure: error:  is not supported.
$

So I'm afraid I'd need some more assistance and advice! I do hope to
end up with a working emacs-w3m!

TIA, Guivho.



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

* Re: How to get web browsing functionality in emacs 23?
  2011-01-27  8:22       ` guivho
@ 2011-01-27 14:54         ` Thierry Volpiatto
  2011-01-27 17:49         ` guivho
       [not found]         ` <mailman.2.1296150583.19915.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 11+ messages in thread
From: Thierry Volpiatto @ 2011-01-27 14:54 UTC (permalink / raw)
  To: help-gnu-emacs

guivho <guivho@gmail.com> writes:

> Hi Thierry,
>
>> Be sure you use cvs version (last) of emacs-w3m with all emacs >23
>
> Ok, I got the latest cvs tarball from
> http://cvs.namazu.org/emacs-w3m.tar.gz and untarred it. It does not
> have a configure script, so I executed autoconf (as instructed in the
> README) and ran configure again to end up with a cryptic error
> message:
>
> $ cd elisp/emacs-w3m/
> $ ./configure
> ./configure: command not found
> $ autoconf
> $ ./configure
> checking whether make sets $(MAKE)... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for makeinfo... makeinfo
> checking for texi2dvi... texi2dvi
> checking for ptex... false
> checking for jbibtex... false
> checking for dvipdfmx... false
> checking for texi2pdf... texi2pdf
> checking for egrep... egrep
> checking for emacs... /usr/bin/emacs
> checking what a flavor does /usr/bin/emacs have... cat:
> ./conftest-27598: No such file or directory
>
> configure: error:  is not supported.
> $
>
> So I'm afraid I'd need some more assistance and advice! I do hope to
> end up with a working emacs-w3m!

It seem the configure script can't parse your emacs-version for some reason.
Maybe try: 

./configure --with-emacs=emacs

But you should ask now on emacs-w3m mailing-list how to build on mac.


-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




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

* Re: How to get web browsing functionality in emacs 23?
  2011-01-27  8:22       ` guivho
  2011-01-27 14:54         ` Thierry Volpiatto
@ 2011-01-27 17:49         ` guivho
       [not found]         ` <mailman.2.1296150583.19915.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 11+ messages in thread
From: guivho @ 2011-01-27 17:49 UTC (permalink / raw)
  To: help-gnu-emacs

Hi All,

The problem was caused by an old emacs 22 that was still hanging
around as /usr/bin/emacs and was picked up by the configure script
being executed in eshell in my current emacs 23. Removing the stale
emacsen and replacing them with symlinks to the current version,
solved my problems.

Thank you all for your time and advice,

Guivho.



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

* Re: How to get web browsing functionality in emacs 23?
       [not found]         ` <mailman.2.1296150583.19915.help-gnu-emacs@gnu.org>
@ 2011-01-27 22:30           ` Tim X
  2011-01-28  8:18             ` guivho
  0 siblings, 1 reply; 11+ messages in thread
From: Tim X @ 2011-01-27 22:30 UTC (permalink / raw)
  To: help-gnu-emacs

guivho <guivho@gmail.com> writes:

> Hi All,
>
> The problem was caused by an old emacs 22 that was still hanging
> around as /usr/bin/emacs and was picked up by the configure script
> being executed in eshell in my current emacs 23. Removing the stale
> emacsen and replacing them with symlinks to the current version,
> solved my problems.
>

Note that you should be very careful about running scripts inside
eshell. While eshell is a great interactive shell, it is not a fully
compliant shell. For example, it does not handle IO redirection. Many
scripts use such techniques and will not run correctly. To make it
worse, it will fail silently. Either use M-x
shell, M-x term or run outside of emacs. 

Tim

-- 
tcross (at) rapttech dot com dot au


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

* Re: How to get web browsing functionality in emacs 23?
  2011-01-27 22:30           ` Tim X
@ 2011-01-28  8:18             ` guivho
  0 siblings, 0 replies; 11+ messages in thread
From: guivho @ 2011-01-28  8:18 UTC (permalink / raw)
  To: help-gnu-emacs

 Tim,

> Note that you should be very careful about running scripts inside
> eshell. While eshell is a great interactive shell, it is not a fully
> compliant shell. For example, it does not handle IO redirection. Many
> scripts use such techniques and will not run correctly. To make it
> worse, it will fail silently. Either use M-x
> shell, M-x term or run outside of emacs.

As the Romans said, 'Experto Crede Roberto', you are very right. An
example of a task that fails from within eshell is MacPort activity ran
as 'sudo port'.

And I must admit that sometimes I am bitten by this before remembering
that there are those cases where our beloved eshell just doen't cut it
and shell is needed.

Thanks for reminding me,

Guivho



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

end of thread, other threads:[~2011-01-28  8:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3.1296065740.11530.help-gnu-emacs@gnu.org>
2011-01-26 18:45 ` How to get web browsing functionality in emacs 23? Krzysztof Bieniasz
2011-01-26 19:36   ` guivho
2011-01-26 20:32     ` Krzysztof Bieniasz
2011-01-26 21:17     ` Peter Dyballa
2011-01-26 22:02     ` Thierry Volpiatto
2011-01-27  8:22       ` guivho
2011-01-27 14:54         ` Thierry Volpiatto
2011-01-27 17:49         ` guivho
     [not found]         ` <mailman.2.1296150583.19915.help-gnu-emacs@gnu.org>
2011-01-27 22:30           ` Tim X
2011-01-28  8:18             ` guivho
2011-01-26 18:15 guivho

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