ishi soichi | 1 Sep 2010 12:13
Picon

make bootstrap gives errors...

Mac OS 10.6.4

CocoaEmacs 64bit

I am trying to install the development version of Cocoa Emacs (version 24?) which seems 64 bit.  
The download was fine.  "./configure --with-ns --without-x" was fine as well.  But

$make bootstrap 

gives,

...
      _Fdbus_register_method in dbusbind.o
      _Fdbus_register_signal in dbusbind.o
      _Fdbus_call_method in dbusbind.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make: *** [src] Error 2

then, of course, "make install" does not do its job.

Could anyone help me out?

soichi
Herbert J. Skuhra | 1 Sep 2010 13:00

Re: make bootstrap gives errors...

On Wed, 1 Sep 2010 19:13:04 +0900 ishi soichi wrote:

[...] 
> ...
>       _Fdbus_register_method in dbusbind.o
>       _Fdbus_register_signal in dbusbind.o
>       _Fdbus_call_method in dbusbind.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [temacs] Error 1
> make: *** [src] Error 2
> 
> then, of course, "make install" does not do its job.
> 
> Could anyone help me out?

Have you tried to disable build of D-Bus support?

% ./configure --help |grep dbus
  --without-dbus          don't compile with D-Bus support

-Herbert

Steinar Bang | 1 Sep 2010 13:16
Picon
Picon
Favicon

Re: Emacs slow away from home

>>>>> Daniel Pittman <daniel <at> rimspace.net>:

> Ron House <rhouse <at> smartchat.net.au> writes:

>> I have been using emacs on my laptop under linux for a long time, but
>> I have just noticed that if I open emacs when I am away from home, it
>> takes something like 2 minutes or more to start up.  At home it is a
>> second or two.

> DNS on your laptop is broken: Emacs is trying to resolve something,
> probably the FQDN to an address, or the address to an FQDN, that takes
> that long to time-out.

Actually I think what it tries to do, is to find the FQDN of the machine
it's running on.

	https://bugzilla.redhat.com/show_bug.cgi?id=216311
	http://groups.google.com/group/comp.emacs/browse_thread/thread/783fe03168a5c168/640f9279be617a10

The workaround, according to the above URLs), is to put the FQDN of the
laptop into its hosts-file.

(I haven't tried this for myself)

Ilya Shlyakhter | 1 Sep 2010 21:40
Picon
Favicon

why is this regexp invalid: "\\(?1:\\)"

dear emacs users,

can you help me understand why the following simple
expression gives an "Invalid regexp" error:

(string-match "\\(?1:\\)" "")

while removing the explicit group number gives no error:

(string-match "\\(?:\\)" "")

thanks,

ilya

Richard Riley | 1 Sep 2010 23:12
Picon
Gravatar

ido buffer select - restrict buffer types


Can someone please show me how I might use IDO buffer select to restrict
from a subset of buffers?

e.g ido select between erc buffers for example.

The benefit over the existing iswitchb mode being the fuzzy (flex)
select capabilities for us sloppy typists.

Richard Riley | 2 Sep 2010 00:24
Picon
Gravatar

Re: ido buffer select - restrict buffer types

Richard Riley <rileyrg <at> gmail.com> writes:

> Can someone please show me how I might use IDO buffer select to restrict
> from a subset of buffers?
>
> e.g ido select between erc buffers for example.
>
> The benefit over the existing iswitchb mode being the fuzzy (flex)
> select capabilities for us sloppy typists.
>

Digging around in (erc-buffer-list) I now have this working solution
with erc flex matching.

--8<---------------cut here---------------start------------->8---
(defun rgr/ido-erc-buffer()
  (interactive)
  (switch-to-buffer
   (ido-completing-read "Channel:" 
                        (save-excursion
                          (delq
                           nil
                           (mapcar (lambda (buf)
                                     (when (buffer-live-p buf)
                                       (with-current-buffer buf
                                         (and (eq major-mode 'erc-mode)
                                              (buffer-name buf)))))
                                   (buffer-list)))))))

(global-set-key (kbd "C-c e") 'rgr/ido-erc-buffer)
--8<---------------cut here---------------end--------------->8---

--

-- 
☘ http://www.shamrockirishbar.com, http://www.richardriley.net

"Learning French is trivial: the word for horse is 'cheval' and
 everything follows thusly." : quotemaster, #emacs on irc.freenode.net

Oleksandr Gavenko | 2 Sep 2010 15:16
Picon

How set working dir for aspell/ispell?

Some times I create temporary directories and delete them
when they stand unused.

But aspell process pwd to this directory and it can not be deleted.

I use 'procexp.exe' on Windows and 'lsof' on Linux to locate 'aspell'
to kill it.

It is convenient start  'aspell' in $HOME  directory so no need to kill
spell process.

Ali Pang | 2 Sep 2010 15:43
Picon
Favicon

Timeout for reading file across network


Hi,

I'd like to load my .emacs from a remote location if possible. The problem
is I'm on windows, and the time-out before recognizing that the file is
unavailable is ridiculously long (minutes). Thus if the file is unavailable,
emacs blocks for a long time at startup. I've tried basically doing

(if (with-timeout (4) 
      (file-exists-p remote-.emacs))
  (load remote-.emacs))

but I guess with-timeout does not do what I want. Any ideas about what I
could use instead?
--

-- 
View this message in context: http://old.nabble.com/Timeout-for-reading-file-across-network-tp29604481p29604481.html
Sent from the Emacs - Help mailing list archive at Nabble.com.

Joel James Adamson | 2 Sep 2010 20:27
Picon
Gravatar

Re: why is this regexp invalid: "\\(?1:\\)"

Ilya Shlyakhter <ilya_shl <at> alum.mit.edu> writes:

> (string-match "\\(?1:\\)" "")
> (string-match "\\(?:\\)" "")

I get 0 from both.

Emacs version: GNU Emacs 24.0.50.3 (x86_64-unknown-linux-gnu, GTK+
Version 2.20.1) of 2010-08-31 on chondestes.bio.unc.edu

Joel

--

-- 
Joel J. Adamson
FSF Member #8164
http://www.unc.edu/~adamsonj
Rainer M Krug | 3 Sep 2010 11:20
Picon

Executing bash bash script from emacs / elisp

Hi
I am a complete beginner concerning elisp - so please bear with me if
this is a simple question.

I would like to execute a shell (bash) script from elisp, which is then
called from org-babel to do some post-processing of the result of
tangling. Tangling in org-babel has a hook for post-processing, and I
know how to set it. Therefore I am simply looking for a way of executing
my shell script from that hook.

essentially:

this-function-executes-a-shell-script(The_Shell_Script.sh)

Thanks,
Rainer


Gmane