Re: .gnus init file

2015-02-01 Thread Sivaram Neelakantan
On Sun, Feb 01 2015,btraven  wrote:

> I have both .emacs and .gnus in ~\ (w32 24.4) and am manually
> transfering gnus stuff from .emacs to .gnus
> Is there a way to have options > customize write to a
> custom-set-variables paragraph in .gnus instead of in .emacs or does all
> the gnus stuff set through customize have to stay in .emacs
>
> Also is this the right place to ask about using openssl, gnutls, and
> other non-Emacs apps needed to make gnus a mail reader as well as a news
> reader?
>
> I have all of this in \emacs\gnutls: 
>
> cacert.pem  libgnutls-28.dll  openssl.exe
> certtool.exelibgnutls-openssl-27.dll  psktool.exe
> danetool.exelibhogweed-2-5.dllReadMe.txt
> gnutls-cli-debug.exe  libiconv-2.dll  regex2.dll
> gnutls-cli.exe  libintl-8.dll srptool.exe
> gnutls-serv.exe   libnettle-4-7.dll   ssleay32.dll
> HashInfo.txtlibtasn1-6.dllzlib1.dll
> libeay32.dllocsptool.exe
> libgmp-10.dll   OpenSSL\ License.txt
>
> and ssl.el in \emacs\site-lisp but the ssl.el may not be current (from
> 1999).
>
> In the emacswiki I read:

I just set up Emacs +gnus+gmail mail send/receive on my win 7 laptop.
And this might not be what you were looking for but here goes anyway.

1.  Download the ezwinports bin files from sourceforge.  Just take all
of them, doesn't matter.  Look for w32-bin files I believe

2.  Put them in c:/gnu/ezwinports or c:/Emacs/ezwinports. err...unzip
them of course.

3. look at your C-h v dynamic-library-alist

Value: ((xpm "libxpm.dll" "xpm4.dll" "libXpm-nox4.dll")
 (png "libpng16.dll" "libpng16-16.dll")
 (tiff "libtiff-5.dll" "libtiff3.dll" "libtiff.dll")
 (jpeg "libjpeg-9.dll")
 (gif "libgif-7.dll")
 (svg "librsvg-2-2.dll")
 (gdk-pixbuf "libgdk_pixbuf-2.0-0.dll")
 (glib "libglib-2.0-0.dll")
 (gobject "libgobject-2.0-0.dll")
 (gnutls "libgnutls-28.dll" "libgnutls-26.dll")
 (libxml2 "libxml2-2.dll" "libxml2.dll")
 (zlib "zlib1.dll" "libz-1.dll"))

These dlls should be there in unzipped directory.

4.  Make sure that ezwinports dir is in the PATH in the "MY Computer"
settings. Adding the path in Emacs doesn't work.  And it has to be
there BEFORE the cygwin path.  which is important.

5.  I have this settings for my .gnus

--8<---cut here---start->8---
(setq mail-sources
  '((pop :server "pop.gmail.com"
 :port 995
 :user "...@gmail.com"
 :password "x"
 :stream ssl)))
;;if retrieving from spool, delete temp file after 1 days
(setq mail-source-delete-incoming 1)
(setq mail-source-delete-old-incoming-confirm nil)
(eval-after-load "mail-source" '(require 'pop3))
;;
(setq smtpmail-stream-type 'ssl)
(setq smtpmail-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-service 465)
(setq smtpmail-debug-info t) ; only to debug problems set to t if needed
(setq smtpmail-debug-verb t)
;; ;;so that sent-mail folders see "To" headers instead of from
(setq gnus-extra-headers
  '(To ))
(setq gnus-verbose 7)
(setq gnus-verbose-backends 7)
--8<---cut here---end--->8---

I don't think I used anything other than stock gnus .el files or
anything outside of the the ezwinports.  In fact, I used msmtp before
but since the ezwinports binaries, it's fully native Emacs.

6.  You'd need an .authinfo file in ~/ directory

c:/Users/ADMIN/AppData/Roaming

or somewhere

7. You may want to see this thread for more info

http://lists.gnu.org/archive/html/help-gnu-emacs/2015-01/msg00328.html


8. If this works, gnus would render html and images too.

 sivaram
 -- 

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


.gnus init file

2015-02-01 Thread btraven
I have both .emacs and .gnus in ~\ (w32 24.4) and am manually
transfering gnus stuff from .emacs to .gnus
Is there a way to have options > customize write to a
custom-set-variables paragraph in .gnus instead of in .emacs or does all
the gnus stuff set through customize have to stay in .emacs

Also is this the right place to ask about using openssl, gnutls, and
other non-Emacs apps needed to make gnus a mail reader as well as a news
reader?

I have all of this in \emacs\gnutls: 

cacert.pemlibgnutls-28.dll  openssl.exe
certtool.exe  libgnutls-openssl-27.dll  psktool.exe
danetool.exe  libhogweed-2-5.dllReadMe.txt
gnutls-cli-debug.exe  libiconv-2.dllregex2.dll
gnutls-cli.exelibintl-8.dll srptool.exe
gnutls-serv.exe   libnettle-4-7.dll ssleay32.dll
HashInfo.txt  libtasn1-6.dllzlib1.dll
libeay32.dll  ocsptool.exe
libgmp-10.dll OpenSSL\ License.txt

and ssl.el in \emacs\site-lisp but the ssl.el may not be current (from
1999).

In the emacswiki I read:

"
There is bleeding edge support for sending/getting email through Gmail
using only 
Gnus (and not the webmail interface.) I’ve verified that this works (rather 
well in fact.)

Configure your Gmail account for POP support. 
This is under Settings in the gmail web interface.
Use CVS Emacs and CVS Gnus. It won’t work any other way.
 ;; this must be dated since its from 2006;;

Replace your installation’s “pop3.el” and “pop3.elc” with those
linked to from this page:
http://www.pvv.ntnu.no/~terjeros/wiki/GnusGmail
;; dead link;;

Configure as on the linked page.

– NOTE: you also need ssl.el, which doesn’t seem to come with the
  current GNU CVS. I found it with a quick google search.
"

Where do I move the stuff in my \emacs\gnutls to make this promise come
true?

Thanks,

Ed
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Why do we need a number of different terminal modes in Emacs?

2015-02-01 Thread Hikaru Ichijyo
Andrey Lisin  writes:

> could anyone explain me why do we need several of terminal
> implementations inside Emacs? Shell, eshell, term, ansi-term... And as
> far as I noticed they all suck one way or another. For example, shell
> cannot complete commands when you ssh to remote server inside
> it. Eshell tragically cannot do a very simple thing - source a bash
> script. Really, try to run `. some_script.sh' or `source
> some_script.sh' inside eshell.

>From what I've gathered, the primary advantage of working with the UNIX
shell from inside Emacs (in programs like 'shell') is that unlike in a
normal terminal, you can cursor anywhere, up to output that has already
been emitted, and do regular Emacs editor operations on command output
after the fact.

If you're wanting something like a plain old xterm inside Emacs, the one
that comes the closest is 'term', though even it has its problems.  It's
slower than a real xterm, and sometimes the Emacs key bindings get in
the way of the actual terminal.

They're all just there for conveniences though.  If you find yourself
needing a fast, efficient terminal that just does the job the way you
expect, run rxvt (standalone).  Heresy as it might be, you don't have to
do everything in Emacs!  (Uh-oh, I said it now...)

> So, am I right and we need them all just because one solves
> restrictions of the others and others do the same thing for the one?
> Why then not just to write some standard terminal implementation, that
> will just works? Does it have something with cross-platform nature of
> Emacs? Or, maybe I'm doing something wrong and all this stuff makes
> sense? Thank you.

I really do think part of the motivation for making them was just the
Emacs philosophy that everything ought to at least try to be available
in Emacs.  Whether you end up getting a terminal that can replace xterm
or rxvt that way is another question, but they did try!  :)

I run 'term' when I want a general purpose Emacs terminal though.

-- 
He that would make his own liberty secure must guard even his enemy from
oppression; for if he violates this duty, he establishes a precedent
that will reach to himself.
--Thomas Paine
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english