all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12561: 24.2.50; trim-string delets a single character if surrounded by spaces
@ 2012-10-02 19:18 olegsivokon
  2012-10-02 19:30 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: olegsivokon @ 2012-10-02 19:18 UTC (permalink / raw)
  To: 12561

When running (trim-string " x ") I get the result "", I would expect "x"
instead
Sorry, I had to reomve some debug info because it contained personal
information.
I don't think it contained any valuable relevant information though.


In GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.11)
 of 2012-08-26 on wvxvw-desktop
Bzr revision: 109787 cyd@gnu.org-20120826134218-63vsnbjvm5rcbzi7
Windowing system distributor `Fedora Project', version 11.0.11203000
Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode)  S)))
  jabber-activity-mode: t
  global-auto-complete-mode: t
  auto-complete-mode: t
  ecb-minor-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Mark set
Saving file /home/wvxvw/.emacs...
Wrote /home/wvxvw/.emacs
niel.drummond@googlemail.com is now Online
Type C-c C-c to view the image as an image.
Cannot display image: (Cannot determine image type)
Wrote /home/wvxvw/.jabber-avatars/e61597143fbf462d1ec1a3dce037de2980eabcbd.jpg
Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils debug sh-script smie
executable haxe-mode haxe-completion haxe-project srecode haxe-log
haxe-help ehelp electric cc-bytecomp dired-aux linum pcmpl-unix dired
goto-addr image-mode jabber-keepalive jabber-bookmarks jabber-private
find-func shell pcomplete mule-util tabify man network-stream
auth-source gnus-util mm-util mail-prsvr password-cache eldoc
slime-fancy slime-fontifying-fu slime-package-fu slime-references
slime-scratch slime-presentations slime-fuzzy slime-fancy-inspector
slime-c-p-c slime-editing-commands slime-autodoc slime-parse slime-repl
slime pp hyperspec browse-url two-column iso-transl js json dabbrev
js2-mode cc-langs cc-mode cc-fonts cc-guess cc-menus cc-styles cc-align
cc-cmds cc-engine cc-vars cc-defs misearch multi-isearch semantic/imenu
semantic/sb semantic/db-file cedet-files imenu semantic/find
ecb-layout-defs cus-edit cus-start cus-load semantic/wisent/python
semantic/decorate/include semantic/decorate/mode semantic/decorate pulse
semantic/dep semantic/wisent/python-wy semantic/wisent
semantic/wisent/wisent python rx js2-mode-autoloads package cl-macs
fliptext quail help-mode jabber jabber-awesome jabber-osd jabber-wmii
jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison
jabber-screen jabber-socks5 jabber-ft-server jabber-si-server
jabber-ft-client jabber-ft-common jabber-si-client jabber-si-common
jabber-feature-neg jabber-truncate jabber-time jabber-autoaway
jabber-vcard-avatars jabber-chatstates jabber-events jabber-vcard
jabber-avatar mailcap jabber-activity jabber-watch jabber-modeline
jabber-ahc-presence jabber-ahc jabber-version jabber-ourversion
jabber-muc-nick-completion hippie-exp jabber-browse jabber-search
jabber-register jabber-roster format-spec jabber-presence jabber-muc
jabber-newdisco jabber-widget jabber-disco jabber-chat ewoc
jabber-history jabber-chatbuffer jabber-alert jabber-iq jabber-keymap
jabber-core jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm
jabber-logon jabber-conn srv dns starttls tls jabber-xml xml jabber-menu
jabber-autoloads jabber-util screencast highlight-current-line
easy-mmode ropemacs pymacs flymake-jshint flymake derived js-comint
auto-complete-config auto-complete popup tron-dark-theme slime-autoloads
ac-slime cl cl-lib server ecb warnings edmacro kmacro ecb-symboldef
ecb-analyse ecb-compatibility ecb-winman-support ecb-autogen autoload
ecb-tod ecb-cycle ecb-eshell ecb-help ecb-jde ecb-method-browser
hideshow ecb-semantic ecb-file-browser ecb-speedbar ecb-layout compile
comint ansi-color ecb-create-layout advice help-fns advice-preload
ecb-compilation ecb-common-browser assoc speedbar sb-image dframe
ecb-navigate ecb-mode-line ecb-face tree-buffer ecb-upgrade
ecb-cedet-wrapper semantic/db-mode semantic/db-find semantic/db-ref
semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn
semantic/db gv eieio-base semantic/format ezimage semantic/tag-ls
semantic/ctxt semantic/util-modes easymenu semantic/util semantic
semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp
byte-compile cconv macroexp mode-local cedet wid-edit ecb-util ring
thingatpt time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12561: 24.2.50; trim-string delets a single character if surrounded by spaces
  2012-10-02 19:18 bug#12561: 24.2.50; trim-string delets a single character if surrounded by spaces olegsivokon
@ 2012-10-02 19:30 ` Glenn Morris
  2012-10-02 19:33   ` Left Right
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2012-10-02 19:30 UTC (permalink / raw)
  To: olegsivokon; +Cc: 12561

olegsivokon@gmail.com wrote:

> When running (trim-string " x ") I get the result "", I would expect "x"
> instead

There is no "trim-string" function in Emacs.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12561: 24.2.50; trim-string delets a single character if surrounded by spaces
  2012-10-02 19:30 ` Glenn Morris
@ 2012-10-02 19:33   ` Left Right
  2012-10-03  9:14     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Left Right @ 2012-10-02 19:33 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 12561

Ouch, I'm very sorry, please disregard this!
This was a function from a custom theme I have.
I might have even written it myself long time ago :(

Sorry again.

Oleg





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12561: 24.2.50; trim-string delets a single character if surrounded by spaces
  2012-10-02 19:33   ` Left Right
@ 2012-10-03  9:14     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2012-10-03  9:14 UTC (permalink / raw)
  To: Left Right; +Cc: 12561

Left Right <olegsivokon@gmail.com> writes:

> Ouch, I'm very sorry, please disregard this!
> This was a function from a custom theme I have.
> I might have even written it myself long time ago :(

FWIW you have `org-trim' in Emacs, which does this.

-- 
 Bastien





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-03  9:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 19:18 bug#12561: 24.2.50; trim-string delets a single character if surrounded by spaces olegsivokon
2012-10-02 19:30 ` Glenn Morris
2012-10-02 19:33   ` Left Right
2012-10-03  9:14     ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.