view lispintro/INSTALL @ 57868:c955f6add62a

* fileio.c (Fread_file_name): Pass Qt as fifth parameter to Fx_file_dialog if only directories should be read. * lisp.h: Fx_file_dialog takes 5 parameters. * xfns.c (Fx_file_dialog): Both Motif and GTK version: Add parameter only_dir_p. In Motif version, don't put DEFAULT_FILENAME in filter part of the dialog, just text field part. Do not add DEFAULT_FILENAME to list of files if it isn't there. In GTK version, pass only_dir_p parameter to xg_get_file_name. * macfns.c (Fx_file_dialog): Add parameter only_dir_p. Check only_dir_p instead of comparing prompt to "Dired". When using a save dialog, add option kNavDontConfirmReplacement, change title to "Enter name", change text for save button to "Ok". * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. Check only_dir_p instead of comparing prompt to "Dired". * gtkutil.c (xg_get_file_with_chooser) (xg_get_file_with_selection): New functions, only defined ifdef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW respectively. (xg_get_file_name): Add parameter only_dir_p. Call xg_get_file_with_chooser or xg_get_file_with_selection depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. * gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 02 Nov 2004 08:21:16 +0000
parents 23a1cea22d13
children
line wrap: on
line source

Basic Installation for  An Introduction to Programming in Emacs Lisp  version 2
==================

    # To see the table of contents of the emacs-lisp-intro-2.00.tar.gz
    # file, execute the following at your shell prompt:

    tar -tzvf emacs-lisp-intro-2.00.tar.gz

    # To uncompress and untar the file, execute the following:

    tar -xzvf emacs-lisp-intro-2.00.tar.gz

    # The file will untar into a subdirectory called emacs-lisp-intro-2.00
    # That directory will contain the Texinfo source for the book, the
    # Info files and various other files.

    cd emacs-lisp-intro-2.00

    # To create a DVI file that can be printed directly or converted
    # to PostScript or PDF and then printed, execute the following:

    ./configure
    make dvi

    # To create an HTML file, execute the following
    #   (presumably you have already executed the `./configure' command
    #    before running `make dvi'; if not execute `./configure' now);
    # this will place HTML files into a emacs-lisp-intro/ subdirectory:

    makeinfo --html --verbose emacs-lisp-intro.texi

    # To create a single, large HTML file in the current directory,
    # use the --no-split option, like this:

    makeinfo --html --no-split --verbose emacs-lisp-intro.texi

        # At the time of writing, `makeinfo' version 4.0b creates HTML
        # files with %20 in addresses instead of a space.  Some
        # browsers have difficulty following such references.  In
        # GNU Emacs, you can replace the occurrences of %20 with a
        # command such as
        #              (replace-string "%20" " ")

    # To create a single, large Info file in the current directory
    # instead of the usual 16 smaller Info files, and also, to avoid
    # indenting paragraphs, execute:

    makeinfo --no-split --paragraph-indent=0 --verbose emacs-lisp-intro.texi

    # To create a single, large Plain text file in the current
    # directory, execute:

    makeinfo --fill-column=70 --no-split --paragraph-indent=0 \
    --verbose --no-headers --output=emacs-lisp-intro.txt emacs-lisp-intro.texi

###