! Skeleton preferences file for XPCE.  This file is loaded from pce(Defaults).
!
! Format:
!
!	* Comment
!	Line-comment is started by the ! (exclamation mark)
!
!	* Default
!	<class>.<class-variable>: <value>
!
!	* Values
!	Values are in standard term-representation.  Chains may be written
!	as a Prolog list.  Values spanning multiple lines use \<NL> to continue
!	on the next line

! SWI-Prolog  theme.  The  default is  derived from  the SDL  function
! SDL_GetSystemTheme().  This  causes use_module(library(theme/Theme))
! to be loaded.  Set to `default` to stop loading a theme file.

! display.theme:	dark

! Epilog Prolog console settings
!terminal_image.save_lines:      10000
!terminal_image.background:      white
!terminal_image.color:           black
!terminal_image.selection_style: style(background := yellow)
!terminal_image.ansi_colours:	vector(colour(black),colour(red3),colour(green3),colour(yellow3),   \
!				       colour(blue2),colour(magenta3),colour(cyan3),colour(gray90), \
!				       colour(gray50),colour(red),colour(green),colour(yellow),     \
!				       colour(blue),colour(magenta),colour(cyan),colour(white))

! Basic style for keyboard accelerators.  On Windows the default is `cua'.
! (Common User Access), on Unix the default is `emacs'.  You can overrule
! the default here.

!key_binding.style:	cua
!key_binding.style:	emacs
!key_binding.style:	apple

! Creating a selection using  the  mouse   puts  the  selection into the
! copy/paste ! buffer by default.  This behaviour can be disabled with the
! preference below.

!editor.auto_copy:	@off

! By default, the editors are case-insensitive in search and replace.  Set to
! @on to use case-sensitive search and replace

!editor.exact_case:	@on

! How PceEmacs deals with DOS (\r\n) and POSIX (\n) newline separators.
! Default for existing files is to detect and safe in the old format.
! Default for new files depends on the platform, but can be overruled
! by this declaration.  Setting the new file is particulary interesting
! when sharing files between Windows and Unix, such as through a shared
! filesystem, zip-exchange or exchange through a version control system

!emacs_buffer.newline_existing_file: detect
!emacs_buffer.newline_new_file: posix

! Backup encoding for PceEmacs if the default encoding cannot save the
! text.  Default is UTF-16 little endian on Windows and UTF-8 on non-Windows
! system.

!emacs_buffer.unicode_encoding: utf8

!Canonicalization done before saving the file.  ensure_newline ensures the
!last line terminates in a newline.  ensure_no_whitespace_errors removes
!GIT white space errors: spaces followed by tabs, spaces before a newline
!and empty newlines before the end of the file.

!emacs_buffer.ensure_newline: @on
!emacs_buffer.ensure_no_whitespace_errors: @on

! When to highlight syntax errors in PceEmacs Prolog mode.  One of
! typing (always), pause (on whole-buffer scan) or never.  Default
! is typing

!emacs_prolog_mode.show_syntax_errors: typing

! Specify the distance between tab-stops in spaces.  This can be refined
! for other modes.

!emacs_fundamental_mode.tab_width: 8

! Indentation parameters for Prolog mode.  body_indentation is the
! indentation of goals in the body.  cond_indentation is the extra
! indentation for (if->then;else), (a;b), etc.  indent_tabs defines
! whether tabs or spaces are used for (re-)indentation.  Default is
! to use tabs (@on).  PceEmacs detects body_indentation and
! indent_tabs from the first clause when editing an existing file.

!emacs_prolog_mode.body_indentation:     4
!emacs_prolog_mode.cond_indentation:     4
!emacs_prolog_mode.indent_tabs:	         @off
!emacs_fundamental_mode.tab_width:       8

! How to add a new set of dependencies for ->update_dependencies
! (^c^d).  Possible values are autoload/1, autoload/2, use_module/1
! and use_module/2.  Note that the value must be quoted to avoid
! parsing as a `/` object.

!emacs_prolog_mode.dependency_directive: "autoload/2"

! Comment column for M-; This may be refined by mode (e.g. emacs_prolog_mode,
! etc.)

!emacs_language_mode.comment_column: 48

! Get grep to work on Windows (using the grep that ships with MSysGit)
! Alternative is to make sure there is a compatible grep in %PATH%

! emacs_fundamental_mode.grep_command: 'C:/Program Files (x86)/Git/bin/grep.exe -n %s NUL'

! Spelling program options for the ispell demo and checker for PceEmacs.
! Ispell is available on most Unix installations.

!ispell.spell_program:	'ispell -d british -t -l'

! Binding for the logical font-names.  You can bind any name to any
! font here.

! font.system_fonts:	[ normal    := font(sans, normal, 12), \
!			  bold      := font(sans, bold,   12), \
!			  italic    := font(sans, italic, 12), \
!			  small     := font(sans, normal, 10), \
!			  large     := font(sans, normal, 14), \
!			  boldlarge := font(sans, bold,   14), \
!			  huge      := font(sans, normal, 18), \
!			  boldhuge  := font(sans, bold,   18), \
!			  fixed     := font(mono, normal, 14), \
!			  tt        := font(mono, normal, 14), \
!			  boldtt    := font(mono, bold,   14)  \
!			]

! XPCE uses `sans`, `serif` and `mono` for all its named fonts
! using the table above.   Before these are passed to Pango, the
! table @font_families is consulted that is initialized from the
! resource below.  The system default table depends on the OS.
! You can use XPCE's font viewer to find a pleasant font and
! modify this table.  The value is a ,-separated list of Pango
! font families that are tried in order. "Noto" is the default
! on Linux.

! font.pango_families:	[ sans  := "Noto Sans,sans", \
!			  serif := "Noto Serif,serif", \
!			  mono  := "Noto Sans Mono,monospace" \
!			]

! Scale all fonts with a constant factor.  The value is a float

!font.scale: 1.2

