annotate nt/inc/grp.h @ 71893:bb3316be643e

Require 'cl during byte-compilation/interactive load, for the `assert' macro. (allout-mode-deactivate-hook): New hook, is run when allout mode deactivates. (allout-developer): New allout customization subgroup. (allout-run-unit-tests-on-load): New allout-developer customization variable, when true allout unit tests are run towards end of file load/eval. (allout-inhibit-auto-fill): Disable auto-fill activity even during auto-fill-mode. (allout-resumptions): Removed, to be replaced by... (allout-add-resumptions): Register variable settings to be reinstated by `allout-do-resumptions'. The settings are made buffer-local, but the locality/globality of the suspended setting is restored on resumption. (allout-do-resumptions): Reinstate all settings suspended using `allout-add-resumptions'. (allout-test-resumptions): Unit tests (and intermediate variables) for resumptions. (allout-tests-globally-unbound, allout-tests-globally-true) (allout-tests-locally-true): Intermediate variables for resumptions unit tests. (allout-overlay-preparations): Replaces `allout-set-overlay-category'. (allout-exposure-category): Replaces 'allout-overlay-category variable. (allout-mode): Use `allout-add-resumptions' and `allout-do-resumptions' instead of retired `allout-resumptions'. For hook functions, use `local' parameter so hook settings are created and removed as buffer-local settings. Revise (resumptions) setting auto-fill-function so it is set only if already active. (The related fill-function settings are all made in either case, so that activating auto-fill-mode activity will have the custom allout-mode behaviors (hanging indent on topics, if configured for it). Also, remove all allout-exposure-category overlays on mode deactivation. (allout-hotspot-key-handler): New function extracted from `allout-pre-command-business', so the functionality can be used for other purposes, eg as a binding in an overlay. (allout-pre-command-business): Use new `allout-hotspot-key-handler'. (allout-auto-fill): Respect new `allout-inhibit-auto-fill' customization variable. (allout-run-unit-tests): Run the (currently quite small) repertoire of unit tests. Called just before the provide iff user has customized `allout-run-unit-tests-on-load' non-nil.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 14 Jul 2006 11:24:56 +0000
parents 067115a6e738
children 3d45362f1d38 c5406394f567
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
53148
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
1 /* Replacement grp.h file for building GNU Emacs on Windows.
68648
067115a6e738 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64890
diff changeset
2 Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
53148
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
3
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
4 This file is part of GNU Emacs.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
5
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
9 any later version.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
10
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
14 GNU General Public License for more details.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
15
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 53155
diff changeset
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 53155
diff changeset
19 Boston, MA 02110-1301, USA. */
53148
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
20
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
21 #ifndef _GRP_H
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
22 #define _GRP_H
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
23
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
24 #include <pwd.h> /* gid_t defined here */
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
25
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
26 /* Emacs uses only gr_name */
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
27 struct group {
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
28 char *gr_name; /* group name */
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
29 };
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
30
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
31 struct group *getgrgid(gid_t);
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
32
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
33 #endif /* _GRP_H */
53155
384390a9b30f Add arch taglines
Miles Bader <miles@gnu.org>
parents: 53148
diff changeset
34
384390a9b30f Add arch taglines
Miles Bader <miles@gnu.org>
parents: 53148
diff changeset
35 /* arch-tag: 82840357-7946-4a87-9c97-c0281b49aca3
384390a9b30f Add arch taglines
Miles Bader <miles@gnu.org>
parents: 53148
diff changeset
36 (do not change this comment) */