1! Skeleton preferences file for XPCE.  This file is loaded from pce(Defaults).
2!
3! Format:
4!
5!	* Comment
6!	Line-comment is started by the ! (exclamation mark)
7!
8!	* Default
9!	<class>.<class-variable>: <value>
10!
11!	* Values
12!	Values are in standard term-representation.  Chains may be written
13!	as a Prolog list.  Values spanning multiple lines use \<NL> to continue
14!	on the next line
15
16! Basic style for keyboard accelerators.  On Windows the default is `cua'.
17! (Common User Access), on Unix the default is `emacs'.  On Apple, the
18! default is `apple', which is `emacs', but giving Command-v, Command-c
19! and Command-s their usual meaning.  The Emacs equivalent can be accessed
20! using ESC-v, etc.
21
22!key_binding.style:	cua
23!key_binding.style:	emacs
24!key_binding.style:	apple
25
26! Creating a selection using  the  mouse   puts  the  selection into the
27! copy/paste ! buffer by default.  This behaviour can be disabled with the
28! preference below.
29
30!editor.auto_copy:	@off
31
32! By default, the editors are case-insensitive in search and replace.  Set to
33! @on to use case-sensitive search and replace
34
35!editor.exact_case:	@on
36
37! How PceEmacs deals with DOS (\r\n) and POSIX (\n) newline separators.
38! Default for existing files is to detect and save in the old format.
39! Default for new files depends on the platform, but can be overruled
40! by this declaration.  Setting the new file is particulary interesting
41! when sharing files between Windows and Unix, such as through a shared
42! filesystem, zip-exchange or exchange through a version control system
43
44!emacs_buffer.newline_existing_file: detect
45!emacs_buffer.newline_new_file: posix
46
47! Backup encoding for PceEmacs if the default encoding cannot save the
48! text.  Default is UTF-16 little endian on Windows and UTF-8 on non-Windows
49! system.
50
51!emacs_buffer.unicode_encoding: utf8
52
53!Canonicalization done before saving the file.  ensure_newline ensures the
54!last line terminates in a newline.  ensure_no_whitespace_errors removes
55!GIT white space errors: spaces followed by tabs, spaces before a newline
56!and empty newlines before the end of the file.
57
58!emacs_buffer.ensure_newline: @on
59!emacs_buffer.ensure_no_whitespace_errors: @on
60
61! When to highlight syntax errors in PceEmacs Prolog mode.  One of
62! typing (always), pause (on whole-buffer scan) or never.  Default
63! is typing
64
65!emacs_prolog_mode.show_syntax_errors: typing
66
67! Specify the distance between tab-stops in spaces.  This can be refined
68! for other modes.
69
70!emacs_fundamental_mode.tab_width: 8
71
72! Indentation parameters for Prolog mode.  body_indentation is the
73! indentation of goals in the body.  cond_indentation is the extra
74! indentation for (if->then;else), (a;b), etc.  indent_tabs defines
75! whether tabs or spaces are used for (re-)indentation.  Default is
76! to use tabs (@on).  PceEmacs detects body_indentation and
77! indent_tabs from the first clause when editing an existing file.
78
79!emacs_prolog_mode.body_indentation:     4
80!emacs_prolog_mode.cond_indentation:     4
81!emacs_prolog_mode.indent_tabs:	         @off
82
83! How to add a new set of dependencies for ->update_dependencies
84! (^c^d).  Possible values are autoload/1, autoload/2, use_module/1
85! and use_module/2.  Note that the value must be quoted to avoid
86! parsing as a `/` object.
87
88!emacs_prolog_mode.dependency_directive: "autoload/2"
89
90! Comment column for M-; This may be refined by mode (e.g. emacs_prolog_mode,
91! etc.)
92
93!emacs_language_mode.comment_column: 48
94
95! Get grep to work on Windows (using the grep that ships with MSysGit)
96! Alternative is to make sure there is a compatible grep in %PATH%
97
98! emacs_fundamental_mode.grep_command: 'C:/Program Files (x86)/Git/bin/grep.exe -n %s NUL'
99
100! Spelling program options for the ispell demo and checker for PceEmacs.
101! Ispell is available on most Unix installations.
102
103!ispell.spell_program:	'ispell -d british -t -l'
104
105! Indicate warnings by blinking (@on, default) or using a beep (@off)
106
107!*.visual_bell:	@off
108
109! Binding for the logical font-names.  You can bind any name to any
110! font here.
111
112!display.system_fonts:	[ normal    := font(helvetica, roman,   12), \
113!			  bold      := font(helvetica, bold,    12), \
114!			  italic    := font(helvetica, oblique, 12), \
115!			  small     := font(helvetica, roman,   10), \
116!			  large     := font(helvetica, roman,   14), \
117!			  boldlarge := font(helvetica, bold,    14), \
118!			  huge      := font(helvetica, roman,   18), \
119!			  boldhuge  := font(helvetica, bold,    18), \
120!			  fixed     := font(screen,    roman,   13), \
121!			  tt        := font(screen,    roman,   13), \
122!			  boldtt    := font(screen,    bold,    13), \
123!			  symbol    := font(symbol,    roman,   12)  \
124!			]
125
126! Scale all fonts with a constant factor.
127
128!font.scale: 1.4
129