🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87183

addition for startup, info page suggestion, man.el fix for SVR4

#87183
From: Keith Gabryelski
Date: Tue, 11 Oct 1994 17:17
83 lines
3922 bytes
This has been my first chance to look at emacs 19.  It looks great!
Thanks for another great product.

                *------------------------------------*

I typically do a fair number of customizations to emacs in the init
file.  So much so that I've created a directory ~/.emacsd which gets
loaded in its entirety.  .el files in this directory are byte-compiled
if necessary.

Here is the main routine I use.  You might like it to include it for
others.

    ;;;
    ;;; Functions to help us load our startup directory.
    ;;;
    (defun load-directory (directory)
      "Load all .el files in DIRECTORY."
      (load-library-list
       (directory-files (expand-file-name directory) t "\\.el\\'")))

    (defun load-library-list (files)
      "Load all files in list FILES byte compiling all files that are
    newer than their repected .elc file."
      (if files
          (let ((file (car files))
                (cdrfiles (cdr files)) cfile)
            (setq cfile (format "%sc" file))
            (if (file-newer-than-file-p file cfile)
                (byte-compile-file file))
            (load cfile 'noerror 'nomessage 'nosuffix)
            (load-library-list cdrfiles))))

                *------------------------------------*

The following paragraph may not be correct info/emacs-11.

       Note: a shell is used to run the compile command, but the shell is
    told that it should be noninteractive.  This means in particular that
    the shell starts up with no prompt.  If you find your usual shell
    prompt making an unsightly appearance in the `*compilation*' buffer, it
    means you have made a mistake in your shell's init file (`.cshrc' or
    `.shrc' or ...) by setting the prompt unconditionally.  The shell init
    file should set the prompt only if there already is a prompt.  In csh,
    here is how to do it:

`.shrc' probably wants to be `.profile' or if there is a shell out
there these days that uses `.shrc' than .profile should be added to
the list explicitly.

                *------------------------------------*

The following diff cleans up the manual page for svr4 machines.

The first addition coverts lines that are entirely made of control
characters to a blank line.  They are later removed with other blank
lines around them if necessary.

The latter addition removes the copyright message placed by USL.

*** /usr/local/src/editors/emacs-19.27/lisp/man.el      Sun Sep  4 02:51:22
1994
--- man.el      Tue Oct 11 12:25:42 1994
***************
*** 144,149 ****
--- 144,150 ----
  (defvar Man-filter-list
    '(("sed "
       (;;"-e 's/.\010//g'"
+       "-e 's/^[\001-\032]*$//g'"
        "-e '/[Nn]o such file or directory/d'"
        "-e '/Reformatting page.  Wait/d'"
        "-e '/Reformatting entry.  Wait/d'"
***************
*** 156,161 ****
--- 157,163 ----
        "-e '/^[ \t]*X Version 1[01].*Release [0-9]/d'"
        "-e '/^[A-za-z].*Last change:/d'"
        "-e '/^Sun Release [0-9].*[0-9]$/d'"
+       "-e '/[ \t]*Copyright [0-9]* UNIX System Laboratories, Inc.$/d'"
        "-e '/^\\n$/D'"
        ))
      ("awk '\n"
Technical Details
Message-ID: <9410111657.AA01448@ivory>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!malgudi.oar.net!news.ysu.edu!blekul11!newsfeed.ACO.net!news.sztaki.hu!EU.net!howland.reston.ans.net! math.ohio-state.edu!cis.ohio-state.edu!wildfire.COM!ag

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,a2806fe7a58413fd,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-10-12 19:27:45 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!malgudi.oar.net!news.ysu.edu!blekul11!newsfeed.ACO.net!news.sztaki.hu!EU.net!howland.reston.ans.net! math.ohio-state.edu!cis.ohio-state.edu!wildfire.COM!ag
From: ag@wildfire.COM (Keith Gabryelski)
Newsgroups: gnu.emacs.bug
Subject: addition for startup, info page suggestion, man.el fix for SVR4
Date: 11 Oct 1994 13:17:58 -0400
Organization: GNUs Not Usenet
Lines: 84
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9410111657.AA01448@ivory>
Reply-To: ag@wildfire.com