logs archiveIRC Archive / Freenode / #emacs / 2009 / December / 12 / 1
ryoma
yes
legumbre_
,...
fsbot
[In the distance, you hear a dog bark]
benny
how can you answer yes to that?
DuClare
*zzap*
[In the distance, you hear a dog spark]
crowbar
how do I attach a pdf to a email in wanderlust? How am I supposed to know which encoding to use?
e1f
usually it's c-c c-a but i use vm
kodein
crowbar: base64
crowbar
e1f yeah, that adds a user to some pet name address book or something. i've been pretty unhappy with wl from a usability standpoint, but it's been the best imap support so far
thanks kodein
         

e1f
try m-x describe-mode
and you should get a listing of all the keybindings for wl
crowbar
Anyone recommend another emacs imap client that's better than wanderlust and m3w? I'm really not enjoying either. Mutt so far is my favorite
DuClare
use mutt
crowbar
e1f: it isn't part of wanderlust, it's part of the SEMI package, so ti's a bit odd to find documentation on
DuClare: just embedd mutt in emacs?
DuClare
Whatever works for you
crowbar
hm, that's what I started with, but I wasn't happy with having mutt running inside emacs. screwed up the term screen every now and then. i guess I'm going back to it.
DuClare
I wonder how ,nterm is doing
...
,nterm
fsbot
From memory, nterm is a vt100 emulator at http://kanis.fr/nterm.html
benny
I just use gnus
kodein
you need two commas if it's not first
benny
but I haven't tried any other mua in emacs so I can't comment on that
DuClare
benny, I heard gnus sucks for IMAP
benny
works for me
teXnomancy
(Action) just read about a client called "notmuch" that looks interesting
kodein
I wonder how many times I've seen this exact conversation now.
jordanb
Gnus takes imap out back and and beats its face in with a baseball bat.
kodein
TenOfTen: right, notmuch seemed sorta interesting.
crowbar
yeah, gnus was nothing but suffering for imap
kodein
dang, tab completion mistake
might be due to beer intake :/
teXnomancy
any synchronous communication with a remote server is going to be a worlde o' pain in Emacs
         

johnsu01
teXnomancy: this is why we run our imap servers locally and use offlineimap
jordanb
Is that the problem?
crowbar
wanderlust handles the imap nicely. it just is a pain to navigate otherwise.
jordanb
I thought it was because it tries to treat imap like an nntp server.
kodein
you can even leave the "in Emacs" part out and it'd still be true
benny
yeah imap server locally and I can't tell the difference between nnml and nnimap
jordanb
johnsu01: If that's what you're doing, why not use pop?
johnsu01
jordanb: because I use other clients to access the imap server, so I still use imap features
benny
that's a reason and dovecot has mail indexing as a feature of the imap server
crowbar
you use other clients to access your local machine?
johnsu01
crowbar: offlineimap syncs with the upstream server
crowbar: I access the upstream server with other clients
crowbar
I see.
johnsu01
I use gnus on a few different machines, plus webmail and my phone
jordanb
I admit using gnus is cheaper than getting electrodes to attach to your genitals.
If that's what you're in to.
retroj
(Action) enters #emacs at an odd moment
benny
talking about gnus is always an odd thing
kodein
it happens a bit often
but I guess it's a popular subject
like tiger woods
benny
well it's a popular emacs mua
retroj
i take it from Gary Gnu himself that No Gnus Is Good Gnus
teXnomancy
well it does net us some pretty colourful metaphors from jordanb, which I suppose is the redeeming quality of these discussions
crowbar
metaphor?
kodein
In other news, I have adapted the "if it works, ship it" attitude at work. Mainly because I was put to do C# coding (I don't know C#) and the codebase is horrible. That and the project is more or less over.
neosoothsayer
if Emacs were a diet pill, I'd totally agree to star in a TV ad for it claiming 50% improvement in just a few weeks!
(Action) loves ido-mode
jordanb
M-x diet-pill
uwjesd
How to switch between split buffers?
benny
,dk C-x o
fsbot
other-window is an interactive built-in function in `C source code'.
It is bound to C-x o.
(other-window COUNT &optional ALL-FRAMES)
Select another window in cyclic ordering of windows.
COUNT specifies the number of windows to skip, starting with the ..[Type ,more]
uwjesd
Hooray.
THanks.
benny
for something more advanced ,,windmove
fsbot
From memory, windmove is [0] a package that makes switching windows easy; just use shift and a direction key to switch to another window
[1] activated via (windmove-default-keybindings),
[2] at http://www.emacswiki.org/cgi-bin/wiki.pl?WindowNavigation, ..[Type ,more]
quotemstr
Evening #emacs.
DuClare
Evening quotemstr e
fsmunoz
evening
teXnomancy
'allo quotemstr
quotemstr
teXnomancy: Did Knuth eat you?
(Action) is about to try the fabled dining car.
Also, people behind me are rude enough to play movie clips that feature five minutes of wall-to-wall "fu*ks", and loud enough for the whole car to hear.
teXnomancy
quotemstr: nom nom nom.
te
there we go
crap
no utf-8 in nicks?
chitleshgoorah
hello there, are there a good howto use newgroups within emacs ?
fsmunoz
chitleshgoorah: the gnus documentation... although it depends on your concept of "good"
chitleshgoorah
fsmunoz: I'm looking for something which doesn't need me to spend hours to get something running
Han
,pan
fsbot
[Too many DB matches] [google] http://www.emacswiki.org/emacs/TauPan
http://www.emacswiki.org/emacs/ewb.el
Han
chitleshgoorah, use pan
fsmunoz
chitleshgoorah: right... then I have no ideas, apart from searching the web for gnus tutorials. The basic configuration is about 4 lines, but most documents try to explain in details how gnus works.
elarson
does anyone use newsticker? I just tried importing about 275 feeds from an opml and it totally choked and the tree view didn't work at all :(
chitleshgoorah
thanks I'll continue to search for it
elarson
I'd consider debugging it if other have had some success, but if not, I'm not going to mess with it
fsmunoz
chitleshgoorah: http://scottmcpeak.com/gnus.html
Maybe it's useful
At least it's short
Although likely outdated
chitleshgoorah
thanks it looks good
teXnomancy
iirc gnus is easier to set up for news than for mail
konr
Do you use a single emacs instance for ERC, org mode and projects?
DuClare
I do
konr
And many frames?
DuClare
Varies.
konr
Haha, the only thing I don't do from inside emacs now is browsing the internet
And mplayer/mpd
teXnomancy
(Action) uses ido hooked up to shelling-out to mpc
quotemstr
"She ain't got no milk in dem titties"
teXnomancy
(this is on my headless living-room music server)
quotemstr
(Action) destroys the people behind him with the sheer force of his annoyance.
DraX
,dav
fsbot
[Too many DB matches] [google] http://www.emacswiki.org/emacs/ElDav
http://www.emacswiki.org/scripts/webdav.pl
DraX
ok, except the url package has a dav library in it now?
except it's totally unclear as to how to use it
lolskes
hi all. emacs noob here :P
just wondering if there was a way to hook in delete-empty-whitelines before leaving message-mode
*empty-lines, and also, to address trailing whitespace
benny
,dv message-send-hook
fsbot
not documented as a variable.
benny
,(require 'message)
fsbot
message
benny
,dv message-send-hook
fsbot
Hook run before sending messages.
This hook is run quite early when sending.
You can customize this variable.
Defined in `/usr/share/emacs/23.1/lisp/gnus/message.elc'.
teXnomancy
lolskes: (add-hook 'message-send-hook 'delete-trailing-newlines)
lolskes
so trailing whitespace & newlines?
-trailing-newlines??
fsbot
Ask yourself, do you really want to know?
teXnomancy
sorry, delete-trailing-whitespace
lolskes
thanks. How would I also add delete-blank-lines in the same add-hook?
(add-hook 'message-send-hook 'a 'b)?
teXnomancy
needs a separate add-hook call
lolskes
hm. I've got (add-hook 'message-send-hook 'delete-trailing-whitespace)
(add-hook 'message-send-hook 'delete-blank-lines)
and the email message is in (Message mode
but when I open the buffer, there are still blank lines
ootput
lolskes: I don't think that hook is ever called.. what did you mean earlier by 'before leaving message-mode' ?
lolskes
ootput: oh sorry. I use mutt as my email client, which calls emacsclient for 'set editor'
and I have rules to (add-to-list 'auto-mode-alist .... message-mode)
benny
ootput: message-send-hook is called, I use it myself
oh, sorry
pompous of me to just read one line and assume you weren't correct
ootput
np
lolskes: so you basically want trailing whitespace and empty lines removed when you kill the buffer?
lolskes
ootput: yes. also when I save, so that I can see the changes done before I kill the buffer and send it out with mutt
ootput
,dv after-save-hook
fsbot
Normal hook that is run after a buffer is saved to its file.
You can customize this variable.
Defined in `/usr/share/emacs/23.1/lisp/files.elc'.
lolskes
ootput: but how do I do that for only stuff in message-mode?
that's a global hook, right?
how do I test 'if' in message-mode?
so that (add-hook 'after-save-hook (if (I'm_in_message_mode (lambda()(delete-blank-lines)(delete-trailing-whitespace)))))
benny
well the idea is there, but the execution isn't
lolskes
what do you mean?
benny
I mean that you understand what you have to do, but didn't do it right
lolskes
oh hehe
benny: I am a noob, still. Just going by un-related example snippets I've read
benny
(add-hook 'after-save-hook '(lambda () (when (eq major-mode 'message-mode) (delete-blank-lines) (delete-trailing-whitespace))))
lolskes
benny: thanks!
but when I save, that only appears to work on current line the cursor is on
benny
weird, maybe there is some file munging happening because it needs to tell mutt what the From: is or something... try before-save-hook
,df delete-trailing-whitespace
fsbot
delete-trailing-whitespace is an interactive compiled Lisp function in
`simple.el'.
(delete-trailing-whitespace)
Delete all the trailing whitespace across the current buffer.
All whitespace after the last non-whitespace character in a line is deleted. ..[Type ,more]
benny
it says it works on the current buffer
lolskes
benny: the whitespace thing looks okay
,df delete-blank-lines
fsbot
delete-blank-lines is an interactive compiled Lisp function in
`simple.el'.
It is bound to C-x C-o.
(delete-blank-lines)
On blank line, delete all surrounding blank lines, leaving just one.
On isolated blank line, delete that one.
On nonblank line, delete any immediately following blank lines.
lolskes
so that's per-line, right?
,dv before-save-hook
fsbot
Normal hook that is run before a buffer is saved to its file.
You can customize this variable.
Defined in `/usr/share/emacs/23.1/lisp/files.elc'.
lolskes
benny: oh right, it'd make sense to run this before-save rather than after-save
benny
I guess it doesn't do it for the buffer, maybe there is a function that does it... or you could write it
lolskes
okay, got http://paste2.org/p/558051
it worked when I saved (deleted stuff.) but now I can't kill buffer! :(
maybe it does need trailing whitespace
for empty Cc: Bcc: fields
nope still fails even without delete-trailing-whitespace
ootput
extra care is to be taken when using code not of your own creation
« prev 1 2 3 4 5 6 next »