Debian :: Emacs Font Selection Error In Jessie
Jul 15, 2015
I just upgraded my system from wheezy to jessie. For the most part, the upgrade was painless, but there's one bit of weirdness that I can't seem to fix on my own.
In my .Xdefaults, I set the font for Emacs with this line:
Code: Select allEmacs.font: -misc-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-1
When I do this, however. the font that appears in Emacs is not any misc-fixed font. See the following image for what Emacs displays. The window for xfontsel shows what font it should be selecting.
Note that both emacs23 and emacs24 (both Debian packages) exhibit this behavior. I also see it with an installation of emacs24 that I compiled myself.
If I use xlsfonts to see what's available matching this pattern, four choices are presented:
Code: Select all$ xlsfonts | grep 'misc-fixed-medium-r-normal--13-.*-iso8859-1$'
-misc-fixed-medium-r-normal--13-100-100-100-c-70-iso8859-1
-misc-fixed-medium-r-normal--13-100-100-100-c-80-iso8859-1
-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
If I change the font-spec in Emacs to specify one of the avgWidth parameters (70 or 80), then Emacs displays the correct font. Note that with this spec, Emacs's choice matches what xfontsel displays.
With avgWidth 70:
With avgWidth 80:
Why Emacs is using the wrong font family when the avgWidth is set to "*". As I understand X font strings, using "*" should make it pick either 70 or 80, but it clearly isn't doing that. A "*" worked with wheezy, so I'm assuming the upgrade changed my font configuration, but I don't know what it might have changed.
View 3 Replies
ADVERTISEMENT
Jun 29, 2015
I installed Jessie (8.1.0) and encountered a problem which is non-existent in Wheezy (7.8.0).
My shell is zsh and I use tmux both installed from packages, I use this zsh feature that when you type "ls /" and then hit "Tab" twice, it will present you a menu where you can select the directory you want navigating the menu with the arrow keys. It works fine out of tmux (in bare shell) but stopped working inside a tmux session. In bare shell you hit Tab twice and get into the menu, in tmux you hit Tab twice and it displays the table of suggestions but just keeps cycling suggestions (cycling directory names) and not sending me to the menu.
Here's some screenshots:
1) Working (no tmux): I hit tab twice and got in the menu.
2) Not working (in tmux): I hit tab twice and it just cycled directory names after "/"
t isn't in my config file, I tried without my .tmux.conf (with tmux set to default settings) and it still had no effect.
View 5 Replies
View Related
Apr 11, 2015
What I'd do to establish nice font hinting is install package libfreetype6, and then create a file in /etc/fonts/conf.avail and conf.d, named 10-lcd-filter.conf. It would contain:
Code: Select all <fontconfig>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
Does this sound like a proper way to go?
View 1 Replies
View Related
Jul 4, 2010
I'm using ubuntu 9.04. I use emacs for almost everything. I used emacs that I compiled from the source on my laptop. I liked the default font that came with it. So I never cared about the font. For some reasons I have to switch to another laptop where emacs is installed from the package. I donot want to go through compiling the source again. I would like to know what is name of the default font in emacs. I donot like the default font that comes with the ubuntu package.
The font I'm talking about is the font that is usually found in most emacs written documents. Similar to this webpage (web browsers might render this differently) . And also this webpage. describing font without knowing the name is difficult . The second link gives a better idea. (Hopefully :-))
Also I read about cse-huji-default-font but M-x describe-variable says it can not find the variable. (Is this related to my problem??)
what the default font of emacs is how to set it.
View 2 Replies
View Related
Aug 3, 2010
Is it possible to get a package that makes the OpenOffice drop-down for font selection use the fonts so that i can compare them? I seem to remember it is but can't remember the package name. I am really looking for something like the MicroSquish Font "Monotype Corsiva". I am currently using a LiveCd of Ubuntu 9.04.
View 2 Replies
View Related
Apr 2, 2011
I'm using emacs 23.2.1 with quack on Linux and trying to set my default typeface to Inconsolata Medium 13. It is installed on my system (debian sid) and can be set manually per buffer in emacs. However, I would like it to be used throughout and by default. My suspicion is that quack's mode is somehow conflicting.
I've searched a good deal looking for information on font customization in emacs. Although there is documentation and examples out there, I've found them fairly incoherent when taken together and nothing specifically addressing this issue. Here is my .emacs
set-default-font "Inconsolata-13")
Turn on visible-bell, get rid of beeps
setq visible-bell t)
Hilight the selected region
setq transient-mark-mode t)
[Code]...
View 2 Replies
View Related
Jul 25, 2009
How may I configure my emacs so it will look like example codes on this site.This configuration is better for my eyes.
View 1 Replies
View Related
Apr 9, 2010
How to zoom in (enlarge font) in Emacs? Is there any simple way to do this?
View 4 Replies
View Related
Jun 3, 2015
/var/log/syslog is full of messages
/etc/gdm3/Xsession[3408]: ![1433316153,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] #011ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
What this means and how to fix it?
View 4 Replies
View Related
Jul 14, 2015
Lately I have noticed when I am trying to install something I have been getting 'Hash Sum mismatch'
Here is an example when I tried to install Calibre:
root@V-debian:/etc/apt# apt install calibre
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code]....
View 10 Replies
View Related
Mar 24, 2016
This my scenery:
1 pc windows 7.
1 pc linux debian jessie.
From jessie, mount a share folder in windows 7, in this way: mount -t cifs //windows7/sharefolder /mnt/windows7 -o user=pychi,password=mypass,uid=pychi,gid=pychi
And work fine, the user pychi and root, copy to windows share folder perfect and fast, but the big problem is:
when i copy a big folder, example 40 gb, after 30% or similar, stop the copy, and this is a list of different errors:
- It's not possible change file proprietary on destiny.
- not enough space
- can't fix attributes, date, time, proprietary, group.
View 0 Replies
View Related
Jun 18, 2010
How can I change the behavior of the selection buffer or a program that uses it ( I have xclip) to not send me text until the mouse button is released while clicking and dragging? This causes havok in the software I'm developing that tries to make use of the selection buffer. I need the full selection, not bits more bits more bits and then the full selection.EDIT: I cannot listen for mouse events such as button release outside of the GUI of my program.
View 2 Replies
View Related
Feb 23, 2011
I have a pdf file (nasm documentation) that used to be displayed perfectly with xpdf, but now all code example lines remain blank. On the terminal I get repeated lines such as:
Quote:
Error: Couldn't create a font for 'Courier Bold'
Error: Couldn't create a font for 'Courier'
I tried to figure out the problem... the same problem occurs with both evince and okular. However it does not occur when opening the same file under root (tested with xpdf), so it seems to be some permission problem. I tried searching on the error message but couldn't find a working solution.
View 2 Replies
View Related
May 10, 2010
GNU Emacs 23.1.1 I've noticed that if I run Emacs and M-x server-start, I can use the emacsclient program as usual, but if if I start Emacs using emacs --daemon and then try to use emacsclient the new frame locks up and the shell outputs *ERROR*: Arithmetic error. This issue doesn't happen if I use the -t flag to force terminal mode when running emacsclient.
View 2 Replies
View Related
May 17, 2010
I was using the following code in my .emacs file to start emacs maximized:
Quote:
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
[Code]...
View 2 Replies
View Related
Feb 6, 2010
I've been trying to install the latest version of Emacs from source but I'm running into a trouble. The commands "./configure" and "make" work just fine. However, when I run "sudo checkinstall" I get a message saying that makeinfo is missing:
Code: makeinfo is missing - cannot build manuals make: *** [info] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. What is Error 1
View 4 Replies
View Related
Dec 12, 2009
Just done a yum update and emacs's fonts seem very strange. Additionally all "" characters are displayed as a bizarre horizontally barred "W". Edit: I think it's nothing to do with emacs but with the fonts update. The default fonts are now "Baemuk Gulin", by changing them (SHIFT-LEFT_MOUSE) to, eg, Arial I can display things correctly. But I think the times fonts are now missing. Very strange.
View 14 Replies
View Related
May 14, 2010
I do not know what makes this error when I start emacs from the terminal** (emacs:30705): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failedDoes anyone know how to get rid of this error ?
View 3 Replies
View Related
Jan 4, 2011
Im trying to get to the debian install through ubuntu through windows 7. I used wubi to install ubuntu and partition the hard drive for a debian install later. But now that Ive installed ubuntu theres no selection to boot Windows 7 in the grub menu that wubi set up. I never touched the windows partition during install but used C:/ for the install components. how can i add windows to the grub selection?
View 6 Replies
View Related
Aug 24, 2011
What is the best debian iso that I should choose to install in a machine with intel core i7 second gen processor? amd64,ia64 or i386 ?
View 4 Replies
View Related
May 7, 2010
What's the state of Debian these days? I have HP Compaq dc7900 with 64-bit Windows7.
Is Grub2 the default boot loader for Debian, or do I needt to use Windows7 boot loader and the older Grub? Given some free space (at the moment Linux Mint), does Debian install itself besides Windows7 as dualboot?
How about the selection of install CD? I didn't see option x86_64. Is it even advisable to use 64-bit Intel architecture yet? How are the drivers? Other SW? Is it better to use 32-bit x86 Debian for now? One reason for changing to Debian is Maemo development. Does anybody know if works with 64-bit Intel architecture?
I have a Lenny-machine (AMD 3-core X64) with Vista dual-boot. At the time I had to install the Grub into Vista boot loader using EasyBCD.
View 3 Replies
View Related
Feb 11, 2011
I'm noticing some odd rendering glitches under Iceweasle 3.5.16, with GNOME 2.30.2 running Debian 6.0 i386 default install.Google for example has an odd black bar that blinks, it almost seems like some odd selection bug (but I have not made any selection). Sometimes it doesn't appear other times right after starting Iceweasle it happens. Any ideas? It happens on other websites in random areas.
View 4 Replies
View Related
Sep 18, 2010
Debian 504 64-bit
Emacs 22.2.1
I have emacs running on the box
$ apt-cache policy emacs Code: emacs:
Installed: 22.2+2-5
Candidate: 22.2+2-5
[code].....
View 2 Replies
View Related
Sep 15, 2014
I have Debian Jessie 8.0 amd-64 installed. It is a dual boot system with Widnows 8.1 alongside. Both the systems work fine with a few glitches coming at times on jessie. But I assume it should get stabilised with time.
Problem is:
The usb keyboard is no longer detected until the GRUB stage crosses.
* This implies I am unable to press F2 to enter into BIOS
* I am unable to chose Windows 8.1 by using arrow key on the keyboard.
When the default system (first in the grub list), in this case Debian is selected after time runs out then the keyboard comes back to life and works properly thereafter.
So far I have tried the possible solution given at [URL] .... but it did not work.
Some Information
================
$ lsb_release -a
No LSB modules are available.
Distributor ID:Debian
Description:Debian GNU/Linux testing (jessie)
Release:testing
Codename:jessie
$ uname -r
3.13-1-amd64
View 1 Replies
View Related
Jan 29, 2011
I'm trying to use emacs in the auctex mode. But Flymake complains about something I could not understand. This is the error it shows whenever I open a tex file.
Code:
Flymake:Configuration error has occured while running (texify --pdf --tex-option=-c-style-errors PATH_TO_FILE_DIRECTORY/FILE_flymake.tex).
Flymake will be switched OFF.
I have texify installed on my system. I also tried suggestions in the emacs wiki on FlymakeTex, added the following lines in my .emacs file:
Code:
(defun flymake-get-tex-args (file-name)
(list "pdflatex" (list "-file-line-error" "-draftmode"
"-interaction=nonstopmode" file-name)))
How do I stop this msg and use flymake.
View 1 Replies
View Related
Sep 18, 2010
Debian 504 64-bit
Emacs 22.2.1
I have emacs running on the box
$ apt-cache policy emacsemacs:
Installed: 22.2+2-5
Candidate: 22.2+2-5
Version table:
23.1+1-4~bpo50+1 0
1 [URL]
*** 22.2+2-5 0
500 [URL]
100 /var/lib/dpkg/status
But I need to upgrade it to the latest version 23 which is NOT on repo.
View 8 Replies
View Related
Dec 22, 2010
When I open Emacs the default is a split window. I can remove the splits with control-x-1. How to get it to open with a single window by default?
View 4 Replies
View Related
May 20, 2011
I have installed Debian a few times now (and other distro's), so I'm fairly used to installing linux. I'm not used to installing it on Apple hardware (back in 2009 on my laptop I had some issues that were solved rather quickly, but that's about it). Now I'm installing Debian Squeeze on a new (well, bought today, but it is the previous model: iMac 11,2) desktop iMac.
Installing goes well (resizing partition, rEFIt, booting Debian 6.0.1a netinstall CD, installing packages etc.) I followed a tutorial [URL] to install grub explicitly with force after installing and running gptsync. Everything went according to the tutorial and I rebooted to be welcomed by rEFIt and then grub: perfect!
BUT when I chose Debian in the grub-selection list, I only see a few lines of starting the kernel, and then my screen goes all black. A few seconds later I hear a sound, and iirc it's the sound of gdm prompting to select a user. I cannot switch to a TTY and I have to use the power-button to shut the system down.
View 6 Replies
View Related
Jan 19, 2010
I havent started X in a LOOONG time because the console is more productive but when i tried i got a font error: Log may or may not be attached LOL links browser is buggy
View 9 Replies
View Related
Jul 13, 2010
I'm running Windows 7 Pro 32-bit to access through ssh a RedHat Linux machine using the Cisco VPN client and Putty. I am trying to run x applications from the command window, but I get an error message that says "Cannot open 6x12 font." I am also using Xming to be able to connect to the x server. The x applications seem to run, but they will not give any figures or charts that the Linux machine alone will give me.
View 1 Replies
View Related