help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Empty buffer


From: BRUCE INGALLS
Subject: Empty buffer
Date: Sat, 4 Feb 2006 17:23:17 -0500

<aside>
After some critiques of the internationalization of the EMacro site, I
put it back into English. On the home page, only, there is an i18n tab
to google-translate it to your native language. Let me know if such is
useful.

I noticed that it is not possible to have XHTML 1.1 compliant PHP, as
PHP chokes on
<?xml
tags. Feel free, to steer me to the proper resource for such.
</aside>

<Emacs>
What I am trying to do, is grab the first IP address, which is not a
netmask, nor 127.0.0.1.
Here is my first attempt:

  (require 'net-utils)
  (save-excursion
    (ipconfig)
    (set-buffer "*Ipconfig*")
    (goto-char (point-min))
    (search-forward-regexp "[0-9]" nil t)
    (match-beginning 1)))

Unfortunately, I cannot capture the output of ipconfig():

  (save-excursion
    (ipconfig)
    (set-buffer "*Ipconfig*")
    (buffer-string)))

Thanks for any help!
</Emacs>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]