From: <sm...@wa...> - 2001-10-30 20:52:44
|
I'll send my big TODO list later, this is a short mail to see who's already subscribed :-) The following function should make erc's scrolling somewhat more like that of ordinary irc clients. I would love to see an elegant alternative; this is the only solution I could come up with. The hack for the minibuffer is there because Emacs can't perform a switch-to-buffer while in the minibuffer. Joy. I haven't tested this with multiple frames, nor with all too fancy window layouts. It seems to work pretty well, but when the cursor is NOT at the end of the buffer, it shouldn't recenter. Johnw's version for Zenirc (http://www.gci-net.com/users/j/johnw/Emacs/.zenirc.el) does take care of this by checking (eobp), but unfortunately the erc hook is called somewhere where the cursor is not at the end of the buffer :( Suggestions welcome! I've only tested this with Emacs 21, please let me know if it works or breaks in other versions. (defun erc-scroll-to-bottom (&optional start end) "A hook function for erc-insert-hook to recenter the output near the bottom of the screen." ;; it would be nice if this were only run on (eobp), but ;; unfortunately (eobp)=nil most of the time when this function is ;; called :( (let ((minibuffer-hack-p (minibuffer-window-active-p (selected-window))) (updated-buffer (current-buffer))) (when minibuffer-hack-p (other-window 1)) (let ((visual-buffer (window-buffer (selected-window)))) (switch-to-buffer updated-buffer) (recenter -1) (goto-char (point-max)) (switch-to-buffer visual-buffer) (if minibuffer-hack-p (other-window 1))))) (add-hook erc-insert-hook 'erc-scroll-to-bottom) Have a nice day, -- Tijs van Bakel, <sm...@wa...> |
From: Fabien P. <pe...@li...> - 2001-10-30 21:40:14
|
30 Oct 2001 21:52:36 +0100, tu as dit : > I'll send my big TODO list later, this is a short mail to see who's > already subscribed :-) Hi. Something I dislike with erc, it gets really difficult to make a long discussion with someone, as your private messages appears in the status bar for a short time. I had to C-x 4 b *Messages* to not miss any of them. Also it would be nice to be cable to use TAB to have erc put /m <nickname of last query> so you don't have to manually type it. Also I would prefer to see the lines I type in the chan, appear in the buffer as it was from someone else, to be sure it has been sent. My 2cts (euros) :). -- Fabien Penso <pe...@li...> http://perso.LinuxFR.org/penso/ |
From: Gergely N. <alg...@de...> - 2001-10-30 22:18:50
|
At Tue, 30 Oct 2001 22:32:15 +0100, Fabien Penso <pe...@li...> wrote: > Something I dislike with erc, it gets really difficult to make a long > discussion with someone, as your private messages appears in the status > bar for a short time. I had to C-x 4 b *Messages* to not miss any of > them. In recent CVS snapshots, there is an auto-query option, which helps a lot. > Also it would be nice to be cable to use TAB to have erc put /m > <nickname of last query> so you don't have to manually type it. ...and since the mentioned auto-query feature opens a new buffer for each person you query (and each one who queries you), you can easily msg them: just write in that buffer. > Also I would prefer to see the lines I type in the chan, appear in the > buffer as it was from someone else, to be sure it has been sent. Erm. Mine looks like this: [2001-10-30 22:26:07] <shorty> mhp: Hehe, I'm just a bit annoyed. <mhp> shorty: aye, then hit my head, so it'll stop shaking [2001-10-30 22:27:56] <shorty> mhp: No, let it shake around, but be sure to put some milk in it before, so that you can create a milk-shake. :-) I don't see what's wrong with that.. Cheers, -- Gergely Nagy \ mhp/|8] |
From: <sm...@wa...> - 2001-10-30 22:32:24
|
Fabien Penso <pe...@li...> writes: > Something I dislike with erc, it gets really difficult to make a long > discussion with someone, as your private messages appears in the status > bar for a short time. I had to C-x 4 b *Messages* to not miss any of > them. > > Also it would be nice to be cable to use TAB to have erc put /m > <nickname of last query> so you don't have to manually type it. What about using a /query for that? (setq 'erc-auto-query t 'erc-join-buffer 'window 'erc-join-info-buffer 'disable) > Also I would prefer to see the lines I type in the chan, appear in the > buffer as it was from someone else, to be sure it has been sent. That is what happens here. What version are you using? -- Tijs van Bakel, <sm...@wa...> |
From: Fabien P. <pe...@li...> - 2001-10-31 10:10:15
|
You sign failed here. Maybe the list system does change the message ?=20 Tue, 30 Oct 2001 23:18:37 +0100, tu as dit :=20 >> Something I dislike with erc, it gets really difficult to make a long >> discussion with someone, as your private messages appears in the status >> bar for a short time. I had to C-x 4 b *Messages* to not miss any of >> them. > In recent CVS snapshots, there is an auto-query option, which helps a lo= t. Great, found it. The bad thing it opens a buffer which replace the actual one. Maybe should we be able to change that and say we want the buffer appear in another window (like we would do with C-x 2) or another frame ? Just in case lots of people query you, and you still want to see the chan buffer. >> Also it would be nice to be cable to use TAB to have erc put /m >> <nickname of last query> so you don't have to manually type it. > ...and since the mentioned auto-query feature opens a new buffer for > each person you query (and each one who queries you), you can easily > msg them: just write in that buffer. Yeah. But sometimes when I query someone, it's just few lines. I don't want to open a buffer, I just want to see his messages into the actual buffer I use, and be able to use TAB to have /m <his nick> is a nice feature. Also using TAB more to automaticly switch between all the people I did query is cool too. >> Also I would prefer to see the lines I type in the chan, appear in the >> buffer as it was from someone else, to be sure it has been sent. > Erm. Mine looks like this: > [2001-10-30 22:26:07] <shorty> mhp: Hehe, I'm just a bit annoyed. > <mhp> shorty: aye, then hit my head, so it'll stop shaking > [2001-10-30 22:27:56] <shorty> mhp: No, let it shake around, but be > sure to put some milk in it before, so that you can create a milk-shake.= :-) > I don't see what's wrong with that.. Nevermind, it's fine here too. I did drink too much :) =2D-=20 Fabien Penso <pe...@li...> http://perso.LinuxFR.org/penso/ |
From: <sm...@wa...> - 2001-10-31 12:40:08
|
Fabien Penso <pe...@li...> writes: > Maybe should we be able to change that and say we want the > buffer appear in another window (like we would do with C-x 2) or another > frame ? Just in case lots of people query you, and you still want to see > the chan buffer. Possible, see the variable erc-join-buffer. I've added a new option "'bury" which is like "'window", but automatically buries the new buffer, so that you can continue typing without being interrupted. I will send the patch later today. Please take your time to investigate whether certain features are already there. -- Tijs van Bakel, <sm...@wa...> |
From: Fabien P. <pe...@li...> - 2001-10-31 11:00:14
|
>> Something I dislike with erc, it gets really difficult to make a long >> discussion with someone, as your private messages appears in the status >> bar for a short time. I had to C-x 4 b *Messages* to not miss any of >> them. >>=20 >> Also it would be nice to be cable to use TAB to have erc put /m >> <nickname of last query> so you don't have to manually type it. > What about using a /query for that? > (setq 'erc-auto-query t > 'erc-join-buffer 'window > 'erc-join-info-buffer 'disable) Ok I'll do with that for now. I have written a file ~/.ercrc.el with : (setq=20 erc-auto-query t erc-join-buffer 'window erc-join-info-buffer 'disable erc-keywords-highlight-type 'all erc-port "6667" erc-nick "hap" erc-user-full-name "Fabien Penso" erc-prompt-interactive-input t erc-echo-timestamp t erc-email-userid "penso" erc-log-channels-directory "~/Irclog/" erc-log-channels t ) (custom-set-faces '(erc-keyword-face ((t (:foreground "red" :weight bold)))) ) (erc-add-pal '("blitz")) (erc-add-keyword '("hap")) but it fails on erc-add-pal and erc-add-keyword, what am I doing wrong ? Also a /whois hap still gives me "us...@ha...", shouldn't it be "pe...@ha..." ? Is it possible to connect to openprojects server as soon as I type M-x erc-mode ? Also is it possible, when I get disconnected, to reconnect and reopen all the channels / buffer the way it was before ? Thanks :) =2D-=20 Fabien Penso <pe...@li...> http://perso.LinuxFR.org/penso/ |
From: Mario L. <ml...@ho...> - 2001-11-05 15:11:38
|
Fabien Penso <pe...@li...> writes: > 30 Oct 2001 21:52:36 +0100, tu as dit : > > > I'll send my big TODO list later, this is a short mail to see who's > > already subscribed :-) > > Hi. > > Something I dislike with erc, it gets really difficult to make a long > discussion with someone, as your private messages appears in the status > bar for a short time. I had to C-x 4 b *Messages* to not miss any of > them. Have a look at erc-auto-query, try playing with /query nickname. Third suggestion is, have a look at the erc-process buffer (thats the buffer where the server messages arive). If you dont have a open query buffer, private messages arrive there, so you shouldnt need to use *Messages* > Also it would be nice to be cable to use TAB to have erc put /m > <nickname of last query> so you don't have to manually type it. Again, have a look at /query nickname. > Also I would prefer to see the lines I type in the chan, appear in the > buffer as it was from someone else, to be sure it has been sent. Hmm, CVS version does this for most things (except /me). Could you give a bit more detail here. What exactly is happening... -- CYa, Mario <ml...@de...> Homepage(s): http://delysid.org | http://piss.at/ Linux: The OS people choose without $200,000,000 of persuasion. -- Mike Coleman |