Re: Re: Re: xemacs and auctex
On Thu, Jun 18, 2009 at 02:18:31AM -0700, Maria McKinley wrote: > Bob Parnes wrote: >> On Tue, Jun 16, 2009 at 11:10:17AM -0700, Maria McKinley wrote: >>> Bob Parnes wrote: >>>> On Mon, Jun 15, 2009 at 01:12:50PM -0700, Maria McKinley wrote: >>>>> I have the latest xemacs and auctex in lenny, but when I try C-c >>>>> C-c, I get C-c C-c not defined. Any ideas what I did wrong? I >>>>> suspect something in my .xemacs, but don't know what to look >>>>> for... >>>>> >>>>> thanks, >>>>> maria >>>>> >>>>> >>>>> -- >>>>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org >>>>> with a subject of "unsubscribe". Trouble? Contact >>>>> listmas...@lists.debian.org >>>>> >>>> Try installing python-mode >>>> >>>> Bob Parnes >>> Thanks, unfortunately it didn't help. I tried from another users >>> account, and same outcome, so I think I may have been wrong about it >>> being a user config problem. Here are the xemacs packages I am using, >>> as well as the auctex, in case that is helpful. >>> >>> miles:~# dpkg -l |grep xemacs >>> ii xemacs21 21.4.19-2 highly >>> customizable text editor >>> ii xemacs21-basesupport 2007.04.27-1 Editor and >>> kitchen sink -- compiled elisp su >>> ii xemacs21-bin 21.4.19-2 highly >>> customizable text editor -- support b >>> ii xemacs21-mule21.4.19-2 highly >>> customizable text editor -- Mule bina >>> ii xemacs21-mulesupport 2007.04.27-1 Editor and >>> kitchen sink -- Mule elisp suppor >>> ii xemacs21-support 21.4.19-2 highly >>> customizable text editor -- architect >>> >>> miles:~# dpkg -l |grep auctex >>> ii auctex 11.83-7.3 integrated >>> document editing environment for >>> >>> >>> -- >>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a >>> subject of "unsubscribe". Trouble? Contact >>> listmas...@lists.debian.org >>> >> >> My mind was running in the wrong channel when I suggested python-mode. >> >> I use emacs21, and C-c C-c on a latex file does work. Out of curiosity >> I installed xemacs-nomule, which also works on my system. The only thing >> that I could see different from your installation is that the latest version >> of xemacs 21 in lenny is 21.4.21-4. So you might try updating. You do have >> the latest version of auctex. I doubt that the problem is your configuration, >> unless somehow you managed to undefine C-c C-c. >> >> Sorry I offered the wrong advice earlier. >> >> Bob Parnes > > No problem. Updating to latest version didn't help, so I think I must > have managed to undefine C-c C-c somehow. No idea how I would have done > that, or how to get it back. I tried getting rid of my config files to > see if that would help, but no joy. > > ~maria > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a > subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > According to the auctex manual, C-c C-c is a shortcut to the command TeX-command-master. If "M-x TeX-command-master" works, you could assign the command to C-c C-c in the configuration file. If it does not work, check whether xemacs is in LaTeX mode when you open a .tex file. If it is in LaTeX mode, then I am stumped. If not, I don't recall how to bring up minor modes, but the emacs manual should help. If it does not, let me know and I'll try to find out. Bob Parnes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Re: xemacs and auctex
On Tue, Jun 16, 2009 at 11:10:17AM -0700, Maria McKinley wrote: > Bob Parnes wrote: >> On Mon, Jun 15, 2009 at 01:12:50PM -0700, Maria McKinley wrote: >>> I have the latest xemacs and auctex in lenny, but when I try C-c C-c, >>> I get C-c C-c not defined. Any ideas what I did wrong? I suspect >>> something in my .xemacs, but don't know what to look for... >>> >>> thanks, >>> maria >>> >>> >>> -- >>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a >>> subject of "unsubscribe". Trouble? Contact >>> listmas...@lists.debian.org >>> >> Try installing python-mode >> >> Bob Parnes > > Thanks, unfortunately it didn't help. I tried from another users > account, and same outcome, so I think I may have been wrong about it > being a user config problem. Here are the xemacs packages I am using, as > well as the auctex, in case that is helpful. > > miles:~# dpkg -l |grep xemacs > ii xemacs21 21.4.19-2 highly customizable > text editor > ii xemacs21-basesupport 2007.04.27-1 Editor and > kitchen sink -- compiled elisp su > ii xemacs21-bin 21.4.19-2 highly customizable > text editor -- support b > ii xemacs21-mule21.4.19-2 highly customizable > text editor -- Mule bina > ii xemacs21-mulesupport 2007.04.27-1 Editor and > kitchen sink -- Mule elisp suppor > ii xemacs21-support 21.4.19-2 highly customizable > text editor -- architect > > miles:~# dpkg -l |grep auctex > ii auctex 11.83-7.3 integrated document > editing environment for > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a > subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > My mind was running in the wrong channel when I suggested python-mode. I use emacs21, and C-c C-c on a latex file does work. Out of curiosity I installed xemacs-nomule, which also works on my system. The only thing that I could see different from your installation is that the latest version of xemacs 21 in lenny is 21.4.21-4. So you might try updating. You do have the latest version of auctex. I doubt that the problem is your configuration, unless somehow you managed to undefine C-c C-c. Sorry I offered the wrong advice earlier. Bob Parnes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: xemacs and auctex
On Mon, Jun 15, 2009 at 01:12:50PM -0700, Maria McKinley wrote: > I have the latest xemacs and auctex in lenny, but when I try C-c C-c, I > get C-c C-c not defined. Any ideas what I did wrong? I suspect something > in my .xemacs, but don't know what to look for... > > thanks, > maria > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a > subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Try installing python-mode Bob Parnes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Start postgresql for the first time
On Sun, Aug 01, 2004 at 10:12:16PM +0100, Oliver Elphick wrote: > On Sun, 2004-08-01 at 18:00, Stephen Patterson wrote: > > On Sun, 01 Aug 2004 17:40:06 +0200, Bob Parnes wrote: > > > After using mysql for several years, I decided to try the testing > > > version of postgresql, but I cannot get started. I cannot log in to > > > create users, and I cannot create a database. > > > [...] > > The defualt setup (see /etc/postgresql/pg_hba.conf) is to only allow users > > to access postgresql databases if their postgres username matches > > their linux username. > > This is the policy for the Debian package. It represents (in my > opinion) the best compromise between initial security and convenience. > The upstream default has traditionally been full open access with no > security check. In either case, the access policy needs to be reviewed > by the local administrator. > > > To create database user accounts, log in as root, su to postgres and > > run createuser. As postgres, you can run createdb to create empty databases. > > To expand on that, use "su - postgres" to get the full environment. > Simply using "su postgres" would not do that. > > When PostgreSQL is installed for the first time, there are two > databases: template0 and template1. template1 is the template for the > real databases that you will create; any changes you make to it will be > propagated into any new databases created thereafter (for instance, you > might choose to delete the public schema from template1). template0 is > a pristine copy of the database as created by initdb and is not normally > accessible. It can be named specifically as a template for creating a > database. When accessing PostgreSQL for the first time you would > specify template1 as the database: > > psql [-d] template1 > > The Linux commands createdb and createuser are programs that connect to > the template1 database and wrap the SQL commands CREATE DATABASE and > CREATE USER, which you can use from inside psql. > > If, when you create a user, you give him the right to create new users, > he is by definition an administrator or superuser in respect to > PostgreSQL, just as the user postgres is in the default installation. > In my own set-up I give myself that privilege and therefore very rarely > need to use the postgres login to access the database. [...] Thanks so much. The process is more complex than with mysql, but the rationale is reasonable. -- Bob Parnes [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Start postgresql for the first time
After using mysql for several years, I decided to try the testing version of postgresql, but I cannot get started. I cannot log in to create users, and I cannot create a database. According to the documentation, the system contains a predefined user, 'postgres'. However, when I run psql -U postgres I get the error message, 'No database specified'. When I run psql -U postgres -l I get the message, 'IDENT authentication failed for user "postgres"'. I find a similar problem with createdb. According to the documentation, a default database is created with the same name as the user, but the directory /var/lib/postgres contains only a single directory, data. When I try to create a database with createdb, I get the same problem with authentication. I feel I am doing something wrong but don't what it is. I had no trouble with mysql and will continue using it if necessary, but I would like to compare the two if possible. thanks for any help. -- Bob Parnes [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem with X/icewm
Hello, I am running a combination of stable/testing, with icewm the window manager. On starting the system today, I found that all the text was missing from the popup menu, from the task bar, and from the title bar of applications. XFree86.0.log has no error messages. I stopped the display manager (wdm) and started X from the console: same result, except that the console showed a long progression of lines, IceWm: Warning: glyph not found: XX where XX was a number. Apparently something was wiped out, but I don't know what it is. I upgraded icewm, but that did not help, so I assume that something is missing from X. Fortunately, I backed up the system early in the month, and I have extra disk space, so I was able to restore the backup on a separate partition. The working system now is the same, except for applications downloaded since the backup. The ones installed yesterday, all from testing, are: upgrade of cupsys, cupsys-client, cupsys-bsd visual-tcl, itcl3 openoffice.org As it stands, I have the option of trying to fix what went wrong or installing these applications on the restored system. If someone can suggest what may have happened and whether I can fix the old system, I would be grateful. Thanks. -- Bob Parnes [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]