all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: how to implement function copy-subword-to-irc-buffer
Date: Sat, 05 Dec 2009 12:58:02 -0600	[thread overview]
Message-ID: <H6OdnYgMG465MIfWnZ2dnUVZ_qKdnZ2d@sysmatrix.net> (raw)
In-Reply-To: <mailman.12262.1260003007.2239.help-gnu-emacs@gnu.org>

Kevin Rodgers wrote:
> B. T. Raven wrote:
>> Kevin Rodgers wrote:
> ...
>>> You should be able to wrap that in a defun and put it in your emacs
>>> as is.
>>> What happened when you tried?
>>
>> After connecting to server and channel I see:
>>
>> and: Symbol's value as variable is void: rcirc-server-buffer
>>
>> server buffer name is irc.dal.net:6667 in buffer list but
>> Atlanta.ga.us.dal.net in mode line. I suppose that mismatch is normal?
>> Nothing was copied out of dictionary buffer into channel buffer at point
>> (ERC>)
> 
> The version of rcirc.el distributed with Emacs 22.3 defvar's
> rcirc-server-buffer, so it has a global value (nil) and buffer-local-value
> will not signal an error (for any BUFFER argument).  This leads me to
> conclude
> that you have not loaded the 22.3 rcirc library, but some other IRC client.
> 
> In emacs -Q, `M-x rcirc' creates and selects a buffer named
> *irc.freenode.net*;
> it also creates a buffer named #rcirc@irc.freenode.net, where `C-h v
> rcirc-server-buffer' yields #<buffer *irc.freenode.net*>.
> 
> How does that compare with your experience?

Emacs -q works normally it seems but there is no ERC component in the
menu after the channel buffer #rcirc@irc.freenode.net is created. What I
normally do is run M-x erc through an alias M-x irc and
parameters(server,channel, etc.) in .emacs are evaluated automatically.
Do I need both (erc) and (rcirc)?

> 
> ...
>>> If you want to use a binding that is "in keeping with traditional key
>>> assignment philosophy", then use C-c LETTER.
>>
>> Yeah, I know but I'm already using all of those. But those bindingS are
>> just for inserting single unicode characters so they could be reassigned
>> now that ver. 23 represents unicode internally.
> 
> 26 letters times lower/upper case = 52 bindings -- a very small subset of
> Unicode indeed.  You would probably benefit from using an input method --
> probably one of the Latin methods as you appear to be in the UK, or perhaps
> one of the UTF-8 methods.  See `M-x list-input-methods', `C-h I' and
> `C-x <RET> C-\'.

No. Am in U.S. I just have a bunch of oddball things like this lumped
together:

...
(global-set-key "\C-c9" (lambda () (interactive) (insert  ?⁹ )))
(global-set-key "\C-c0" (lambda () (interactive) (insert  ?⁰ )))
(global-set-key "\C-ca" (lambda () (interactive) (insert  ?ˊ )))
(global-set-key "\C-cb" (lambda () (interactive) (insert  ?˘ )))
(global-set-key "\C-cp" (lambda () (interactive) (insert  ?¶ )))
...

I use input methods too. The C-c bindings are things I commonly use that
 aren't accessible in any one input method. I should probably make my
own homebrew imput method that includes all the glyphs I want. I would
learn rfc1345 mnemonics if I thought they were going to be stable. When
will rfc1345 get a more official sounding name? Things like:
&NH\203 ƒ &VS\212 make me think it's not ready for prime time.
May be a font problem though. MSarialunicode doesn't have everything in it.

I also have this .emacs:
(fset 'im-uc
   [?\C-x return ?\C-\\ ?r ?f ?c ?1 ?3 ?4 ?5 return])

So I don't have to do C-x ret C-\ rfc1345
but
M-x im-uc

For me, using ucs-insert is like putting in graphic characters with Alt
keypad on the old ibm pc.


> 
> Hope that helps,
> 

Somewhat. Thanks again.







  parent reply	other threads:[~2009-12-05 18:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30 17:39 how to implement function copy-subword-to-irc-buffer B. T. Raven
2009-12-02  6:34 ` Kevin Rodgers
     [not found] ` <mailman.12001.1259735672.2239.help-gnu-emacs@gnu.org>
2009-12-04  1:45   ` B. T. Raven
2009-12-04  5:02     ` Kevin Rodgers
     [not found]     ` <mailman.12154.1259902948.2239.help-gnu-emacs@gnu.org>
2009-12-04 21:12       ` B. T. Raven
2009-12-05  8:49         ` Kevin Rodgers
     [not found]         ` <mailman.12262.1260003007.2239.help-gnu-emacs@gnu.org>
2009-12-05 18:58           ` B. T. Raven [this message]
2009-12-05 21:25             ` Stefan Monnier
2009-12-05 21:43               ` B. T. Raven
2009-12-07 15:48                 ` Stefan Monnier
2009-12-05 21:46           ` B. T. Raven
2009-12-08  5:31             ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=H6OdnYgMG465MIfWnZ2dnUVZ_qKdnZ2d@sysmatrix.net \
    --to=nihil@nihilo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.