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

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

Re: Software/HD ecology


From: Anil
Subject: Re: Software/HD ecology
Date: Tue, 17 Dec 2002 05:55:13 GMT
User-agent: Thoth/1.5.10 (Carbon/OS X)

 Stefan Monnier <foo@acm.com> wrote:

> >>>>> "Ajanta" == Ajanta  <ajanta@no.spam> writes:
> > When I run a command like "ls -l file" I can get a lot of information
> > about a file's type, size, ownership, date created/modified.  Whether
> > that qualifies as a "log" to somebody or not is a rather dull semantic
> > issue.  The system does store and update information on files.
> 
> These kinds of info are more akin to `state'.  One major difference between
> `state' and `log' is that a `log' is `append only'.  The info you describe
> is always kept uptodate but you can't know what it was before the last
> modification, so it's very clearly not a `log'.

I worry about many things, but this would be rather low on my list.  If
something came with emacs, it remains with emacs. It doesn't become a
MS Office file!  What *are* you talking about?

> Maybe it's dull, but it's not subtle.  If you don't know what word to use,
> just use "info" or "thing" so you won't mislead readers.

I apologize.  I didn't mean to mislead anyone. When I said unix logs
information, a few posts above, I was writing English and hoped people
would read it as English. How exactly were you misled, though? 

Your suggestion is questionable too: "info" could also have technical
meaning to someone. Probably does. I see no alternative to relying on
other people's common sense to read English as English. 

By the way, you had claimed elsewhere that Emacs files are
well-localized in the file systems. You didn't respond to my post that
on my system I find (just for the *name* emacs, not necessarily all
emacs-specific files):

   /usr/bin/emacs
   /usr/info/emacs
   /usr/libexec/emacs
   /usr/local/bin/emacs
   /usr/share/emacs
   /usr/share/info/emacs

The problem is not one program, emacs or something else. The problem is
fifty or hundred programs, each installing itself in a few places, each
doing so just a little differently. Then, without a standard
"uninstall" culture (which, someone did assure us, is becoming common),
we have a recipe for confusion.

Anil
>From help-gnu-emacs-bounces@gnu.org  Tue Dec 17 01:10:13 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: brownp@cs.unc.edu (Peter Brown)
Newsgroups: gnu.emacs.help
Date: 16 Dec 2002 22:08:56 -0800
Organization: http://groups.google.com/
Lines: 95
Message-ID: <77bc73a.0212162208.6a648b6d@posting.google.com>
NNTP-Posting-Host: 68.18.176.13
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1040105337 20626 127.0.0.1 (17 Dec 2002 06:08:57
        GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 17 Dec 2002 06:08:57 GMT
Xref: shelby.stanford.edu gnu.emacs.help:108201
To: help-gnu-emacs@gnu.org
Subject: Limits on programmatic movement in *Ipconfig* buffer?
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 17 Dec 2002 06:10:13 -0000

M-x ipconfig brings up an *Ipconfig8 buffer with lots of useful info
in it.  I find that when I switch to the buffer interactively, I can
move about the whole buffer, but programmatically I seem to be limited
to the first line or two.  Why can't I move about the buffer
programmatically?  Is this just something I don't know, or a bug?

Thanks for help/pointers.

Peace,
--Peter


Details:

OS is Windows ME.

runemacs -q --no-site-file.

(emacs-version)
"GNU Emacs 21.2.1 (i386-msvc-windows98.3000)
 of 2002-03-19 on buffy"

Yank/type into *scratch* and eval:

(defun phb-buffer-substr ()
  (set-buffer (ipconfig))
  (setq phb-str (buffer-substring (point-min) (point-max)))
  (length phb-str))
    => phb-buffer-substr

(phb-buffer-substr)
    => 28

phb-str
    => "** Ipconfig ** ipconfig ** 
"

The actual contents of the *Ipconfig* buffer are as follows (with
addresses edited out):

** Ipconfig ** ipconfig ** 

Windows IP Configuration

        Host Name . . . . . . . . . : foo.bar.com
        DNS Servers . . . . . . . . : 0.0.0.0
        Node Type . . . . . . . . . : Broadcast
        NetBIOS Scope ID. . . . . . : 
        IP Routing Enabled. . . . . : No
        WINS Proxy Enabled. . . . . : No
        NetBIOS Resolution Uses DNS : No

0 Ethernet adapter :

        Description . . . . . . . . : Fast Ethernet PC Card
        Physical Address. . . . . . : 00-00-00-00-00-00
        DHCP Enabled. . . . . . . . : Yes
        IP Address. . . . . . . . . : 0.0.0.0
        Subnet Mask . . . . . . . . : 0.0.0.0
        Default Gateway . . . . . . : 0.0.0.0
        DHCP Server . . . . . . . . : 0.0.0.0
        Primary WINS Server . . . . : 
        Secondary WINS Server . . . : 
        Lease Obtained. . . . . . . : 12 16 02 22:34:32
        Lease Expires . . . . . . . : 10 21 08 22:17:28

1 Ethernet adapter :

        Description . . . . . . . . : PPP Adapter.
        Physical Address. . . . . . : 00-00-00-00-00-00
        DHCP Enabled. . . . . . . . : Yes
        IP Address. . . . . . . . . : 0.0.0.0
        Subnet Mask . . . . . . . . : 0.0.0.0
        Default Gateway . . . . . . : 
        DHCP Server . . . . . . . . : 255.255.255.255
        Primary WINS Server . . . . : 
        Secondary WINS Server . . . : 
        Lease Obtained. . . . . . . : 
        Lease Expires . . . . . . . : 

2 Ethernet adapter :

        Description . . . . . . . . : PPP Adapter.
        Physical Address. . . . . . : 00-00-00-00-00-00
        DHCP Enabled. . . . . . . . : Yes
        IP Address. . . . . . . . . : 0.0.0.0
        Subnet Mask . . . . . . . . : 0.0.0.0
        Default Gateway . . . . . . : 
        DHCP Server . . . . . . . . : 255.255.255.255
        Primary WINS Server . . . . : 
        Secondary WINS Server . . . : 
        Lease Obtained. . . . . . . : 
        Lease Expires . . . . . . . : 

Process Ipconfig exited abnormally with code 1
>From help-gnu-emacs-bounces@gnu.org  Tue Dec 17 02:35:16 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ittay@qlusters.com (Ittay Freiman)
Newsgroups: gnu.emacs.help,comp.emacs,comp.emacs.xemacs
Date: 16 Dec 2002 23:33:11 -0800
Organization: http://groups.google.com/
Lines: 18
Message-ID: <1a52e3d.0212162333.78b8d0b1@posting.google.com>
NNTP-Posting-Host: 62.90.161.92
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1040110391 26888 127.0.0.1 (17 Dec 2002 07:33:11
        GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 17 Dec 2002 07:33:11 GMT
Xref: shelby.stanford.edu gnu.emacs.help:108202 comp.emacs:76472
        comp.emacs.xemacs:69140
To: help-gnu-emacs@gnu.org
Subject: advice on a variable
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 17 Dec 2002 07:35:16 -0000

hi,

i'm writing a minor mode which binds some keys in a minor mode map. i
would like it to be turned on/off globally, but i also want it to be
disabled for some buffer types / major modes.

the best 'trick' would be, i think, to be able to advice the mode
variable (a.k.a ittay-mode) so that when its value is gotten it will
actually run a function that, based on the current buffer and the
global value will return t/nil. then i put the mode variable and the
map in minor-mode-map-alist.

how can this be done? (i've tried using defcustom with :get, but
simply evaluating the variable's value doesn't go through it). I don't
want to make it local and set its values based in hooks.

thanx,
ittay
>From rbelenov@yandex.ru Tue Dec 17 02:43:01 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
        id 18OCNZ-0007T4-00
        for help-gnu-emacs@gnu.org; Tue, 17 Dec 2002 02:43:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
        id 18OCNV-0007IG-00
        for help-gnu-emacs@gnu.org; Tue, 17 Dec 2002 02:42:59 -0500
Received: from fmr01.intel.com ([192.55.52.18] helo=hermes.fm.intel.com)
        by monty-python.gnu.org with esmtp (Exim 4.10.13)
        id 18OCNU-0007FS-00
        for help-gnu-emacs@gnu.org; Tue, 17 Dec 2002 02:42:56 -0500
Received: from talaria.fm.intel.com (talaria.fm.intel.com [10.1.192.39])
        20:43:23 dmccart Exp $) with ESMTP id gBH7ehI23891
        for <help-gnu-emacs@gnu.org>; Tue, 17 Dec 2002 07:40:43 GMT
Received: from fmsmsxv040-1.fm.intel.com (fmsmsxvs040.fm.intel.com
        [132.233.42.124])23:46:59 dmccart Exp $) with SMTP id gBH7jE511143
        for <help-gnu-emacs@gnu.org>; Tue, 17 Dec 2002 07:45:14 GMT
Received: from fmsmsx26.fm.intel.com ([132.233.42.26])
        M2002121623431732465 ; Mon, 16 Dec 2002 23:43:17 -0800
Received: from NNWRBELENOV31 (nnwrbelenov31.inn.intel.com [10.125.17.180]) by
        fmsmsx26.fm.intel.com with SMTP (Microsoft Exchange Internet Mail 
Service
        Version 5.5.2653.13)    id Y497NBCT; Mon, 16 Dec 2002 23:42:54 -0800
To: marcel-sl@gmx.de (Marcel Schmittfull)
References: <3dfe3ea4.1245206@news.cis.dfn.de>
From: Roman Belenov <rbelenov@yandex.ru>
Date: Tue, 17 Dec 2002 10:42:53 +0300
In-Reply-To: <3dfe3ea4.1245206@news.cis.dfn.de> (marcel-sl@gmx.de's message
 of "Mon, 16 Dec 2002 21:12:22 GMT")
Message-ID: <ur8chozuq.fsf@yandex.ru>
Lines: 18
User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2
 (i386-msvc-nt5.1.2600)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: help-gnu-emacs@gnu.org
Subject: Re: M-TAB already used by KDE
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 17 Dec 2002 07:43:01 -0000

marcel-sl@gmx.de (Marcel Schmittfull) writes:

> Is it possible to tell emacs that whenever I type a certain
> keybinding, f.e. C-x M-<TAB> or so, emacs behaves as if I typed
> M-<TAB> ? I.e. I don't want to change the M-<TAB> keybinding for every
> single mode, I just want to have a certain global keybinding which
> replaces M-<TAB> globally. Is this possible ?

I have this in my .emacs to fight the same problem in MS Windows

(global-set-key [(hyper /)] (lambda () (interactive) (funcall
  (key-binding "\M-\t"))))

Change hyper-/ to whatever you like.
  

-- 
                                                        With regards, Roman.




reply via email to

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