Previous Up Next
?>
Accueil
Accueil
Blog
Blog
GNU/Linux
GNU/Linux
Pierre L.
Pierre L.
Whist
Whist
Nous
Nous
Jabberwocky
Jabberwocky
LaTeX
LaTeX

II  Classes

II.1  Basic classes

II.2  Interfaces

II.3  Loadable objects

II.4  Subsystems

II.4.1  What is a subsystem?

We essentially call a subsystem an interface to an external engine like or (cf. ?? ,) or a fully Emacs internal implemented engine like the j++ browser (cf. ?? .) A subsystem can load its configuration from a given file. That’s why there is a special configuration and launching mechanism.

II.4.2  Launching

Before installing the subsystems manager that is required to launch the subsystems like j++ browser (cf. ?? ,) or j++ sound system (cf. ?? ,) j++ should itself be installed and configured (cf. I.2I.4.)

You should then launch the subsystem manager by completing the already given .emacs file (cf. I.4 ,) as follows :

(add-to-list ’load-path
      (expand-file-name "~/jabberwocky"))

(add-to-list ’load-path
      (expand-file-name "~/edext"))

(require ’j++)

(j++-autoload ’subsystems-start ’subsystems
       ’(packages subsystems)
       "Launch the subsystem manager" t)

(subsystems-start)

Once configuration has been done like recommended above you may start Emacs. If at this time, or later you are asked if you want to create .j++-subsystems/ in your home directory, answer ‘y’ to this question. Then if you want to be able to use one of the available subsystems (cf. ?? or ?? ) or whatever could be developed following same scheme, you should issue :

M-x subsystems-settings <RET>

. If everything goes fine you will be in front of a screen like :

[Accept]   [Apply]   [Reset]   [Cancel]

  Subsystems

Groups:    *Settings*    [Loading]    [Subsystem]    [Logging]    [Default]

Title : Subsystems

 
---------------------------------------------------------------
 
   Logging

Log-Buffer : [Value Menu] Buffer name: *subsystems.log*
Buffer into which log info are More

Log-File : [Value Menu] None
File to record log info in

Log buffer size : [Value Menu] Number: 16777216
Size of the log buffer. When this size is More

Log-Level : [Value Menu] Info
Log level

 
---------------------------------------------------------------
 
   Loading

File : [Value Menu] File: /home/devel/.j++-subsystems/subsystems.el.gz
File where the subsystem manager is stored

Directory : [Value Menu] Directory: /home/devel/.j++-subsystems/
Directory where subsystems settings are stored

 
---------------------------------------------------------------
 
   Subsystem

Shutdown : [Toggle]  off (nil)
Run a suitable method at emacs shutdown More

Subsystem list : [INS] [DEL] [Open] Name: Browser
 [INS] [DEL] [Open] Name: Festival
 [INS] [DEL] [Open] Name: Monde
 [INS] [DEL] [Open] Name: discid
 [INS] [DEL] [Open] Name: Cddb
 [INS] [DEL] [Open] Name: Cdrom
 [INS] [DEL] [Open] Name: Aplay
 [INS] [DEL] [Open] Name: Mplayer
 [INS] [DEL] [Open] Name: Amixer
 [INS] [DEL] [Open] Name: Radio
 [INS] [DEL] [Open] Name: Sound++
 
[INS]
Configured subsystems

 
---------------------------------------------------------------
 

[Accept]   [Apply]   [Reset]   [Cancel]

Many configurations might be done by this pannel but adding support for a given subsystem is done by hitting the [INS] button just after Subsystem list : . You will be asked if you want to configure a new subsystem automatically. If you do not really know how to do it manually answer ‘y’ to this question. Then choos a subsystem among the available ones. Completion is active at this point. For instance if you choose browser, after hitting [INS] and answering the questions an item will be added to the list if not already present.

After you add a new subsystem do not forget to hit the [Accept] or [Apply] button.

II.4.3  General settings

Generically a subsystem configuration pannel looks like that :

[Accept]   [Apply]   [Reset]   [Cancel]

  Generic

Groups:    *Settings*    [Loading]    [Subsystem]

Title : Generic

 
---------------------------------------------------------------
 
   Loading

File : [Value Menu] File: generic.el.gz
File where the subsystem manager is stored

Directory : [Value Menu] Directory: /home/devel/.j++-subsystems/
Directory where subsystems settings are stored

 
---------------------------------------------------------------
 
   Subsystem

Shutdown : [Toggle]  off (nil)
Run a suitable method at emacs shutdown More

 
---------------------------------------------------------------
 

%%% generic.scr.tex --- 
%% 
%% Project: General settings 0.8.6 
%% In: Subsystems Documentation 0.8.6 
%% In: Subsystems 0.8.6 
%% In: J++ Packages 0.8.5 
%% In: Jabberwocky++ 0.8.5 
%%  
%% Copyright (C) 2016 Pierre L. Nageoire 
%%  
%% Author: Pierre L. Nageoire <devel@pollock-nageoire.net> 
%% X-RCS: $Id: generic.scr.tex 1296 2021-05-10 02:30:27Z devel $ 
%%  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
%%  
%% This program is free software; you can redistribute it 
%% and/or modify it under the terms of the GNU General Public 
%% License as published by the Free Software Foundation; 
%% either version 2, or (at your option) any later version. 
%%  
%% This program is distributed in the hope that it will be 
%% useful, but WITHOUT ANY WARRANTY; without even the implied 
%% warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
%% PURPOSE. 
%%  
%% See the GNU General Public License for more details. 
%%  
%% You should have received a copy of the GNU General Public 
%% License along with this program; see the file COPYING. 
%%  
%% If not, write to the Free Software Foundation, Inc., 51 
%% Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
%%  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
%%  
%%% Commentary: 
%%  
%%% Code: 
%%  
[Accept]   [Apply]   [Reset]   [Cancel]

involving following sections Loading (cf. II.4.3.1 ,) Subsystem (cf. II.4.3.2 .) But most of the time it looks more like that :

[Accept]   [Apply]   [Reset]   [Cancel]

  Log

Groups:    *Settings*    [Loading]    [Subsystem]    [Logging]

Title : Log

 
---------------------------------------------------------------
 
   Logging

Log-Buffer : [Value Menu] Buffer name: j++_log
Buffer into which log info are More

Log-File : [Value Menu] None
File to record log info in

Log buffer size : [Value Menu] Number: 16777216
Size of the log buffer. When this size is More

Log-Level : [Value Menu] Info
Log level

 
---------------------------------------------------------------
 
   Loading

File : [Value Menu] File: log.el.gz
File where the subsystem manager is stored

Directory : [Value Menu] Directory: /home/devel/.j++-subsystems/
Directory where subsystems settings are stored

 
---------------------------------------------------------------
 
   Subsystem

Shutdown : [Toggle]  off (nil)
Run a suitable method at emacs shutdown More

 
---------------------------------------------------------------
 

[Accept]   [Apply]   [Reset]   [Cancel]

involving a supplementary Logging (cf. II.4.3.3 ) section.

II.4.3.1  Loading

II.4.3.2  Subsystem

II.4.3.3  Logging

la papessa gli amanti l'appeso la muerte
Apache/2.4.41 (Unix) PHP/7.4.2 SVN/1.13.0 Hevea

Previous Up Next